[INFO] cloning repository https://github.com/bobjia/remdb
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bobjia/remdb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbobjia%2Fremdb", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbobjia%2Fremdb'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] bc93fedafd68e89bfe69fc389baf091a5dd537b2
[INFO] fixing bobjia/remdb against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbobjia%2Fremdb" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/bobjia/remdb
[INFO] finished tweaking git repo https://github.com/bobjia/remdb
[INFO] tweaked toml for git repo https://github.com/bobjia/remdb written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/bobjia/remdb on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/bobjia/remdb already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `panic` setting is ignored for `test` profile
[INFO] [stderr] warning: `remdb` (manifest) generated 1 warning
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] d012ee33eef380f9cc79fe9e600603f4106e10f71ceba1c52eed7769517b5235
[INFO] running `Command { std: "docker" "start" "d012ee33eef380f9cc79fe9e600603f4106e10f71ceba1c52eed7769517b5235", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d012ee33eef380f9cc79fe9e600603f4106e10f71ceba1c52eed7769517b5235" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d012ee33eef380f9cc79fe9e600603f4106e10f71ceba1c52eed7769517b5235", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d012ee33eef380f9cc79fe9e600603f4106e10f71ceba1c52eed7769517b5235" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Migrating remdb-macros/Cargo.toml from 2021 edition to 2024
[INFO] [stderr] warning: Cargo.toml: `panic` setting is ignored for `test` profile
[INFO] [stderr] warning: `remdb` (manifest) generated 1 warning
[INFO] [stderr]    Compiling proc-macro2 v1.0.105
[INFO] [stderr]    Compiling quote v1.0.43
[INFO] [stderr]    Compiling libc v0.2.180
[INFO] [stderr]    Compiling zerocopy v0.8.33
[INFO] [stderr]    Compiling zmij v1.0.14
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]     Checking pin-project-lite v0.2.16
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling rayon-core v1.13.0
[INFO] [stderr]     Checking futures-task v0.3.31
[INFO] [stderr]     Checking ciborium-io v0.2.2
[INFO] [stderr]     Checking itoa v1.0.17
[INFO] [stderr]     Checking futures-core v0.3.31
[INFO] [stderr]     Checking clap_lex v0.7.7
[INFO] [stderr]     Checking plotters-backend v0.3.7
[INFO] [stderr]     Checking anstyle v1.0.13
[INFO] [stderr]     Checking slab v0.4.11
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]     Checking memchr v2.7.6
[INFO] [stderr]     Checking regex-syntax v0.8.8
[INFO] [stderr]     Checking itertools v0.10.5
[INFO] [stderr]     Checking lock_api v0.4.14
[INFO] [stderr]     Checking cast v0.3.0
[INFO] [stderr]     Checking once_cell v1.21.3
[INFO] [stderr]     Checking plotters-svg v0.3.7
[INFO] [stderr]     Checking clap_builder v4.5.54
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking sdd v3.0.10
[INFO] [stderr]     Checking same-file v1.0.6
[INFO] [stderr]     Checking log v0.4.29
[INFO] [stderr]     Checking anes v0.1.6
[INFO] [stderr]     Checking oorandom v11.1.5
[INFO] [stderr]     Checking unicode-ident v1.0.22
[INFO] [stderr]     Checking walkdir v2.5.0
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]     Checking scc v2.4.0
[INFO] [stderr]     Checking plotters v0.3.7
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]     Checking crossbeam-deque v0.8.6
[INFO] [stderr]     Checking criterion-plot v0.5.0
[INFO] [stderr]     Checking regex-automata v0.4.13
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]     Checking is-terminal v0.4.17
[INFO] [stderr]     Checking rayon v1.11.0
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking serde_json v1.0.149
[INFO] [stderr]     Checking clap v4.5.54
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking regex v1.12.2
[INFO] [stderr]     Checking remdb-macros v0.2.9 (/opt/rustwide/workdir/remdb-macros)
[INFO] [stderr]    Migrating remdb-macros/src/lib.rs from 2021 edition to 2024
[INFO] [stderr]    Compiling zerocopy-derive v0.8.33
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling serial_test_derive v3.3.1
[INFO] [stderr]     Checking serial_test v3.3.1
[INFO] [stderr]     Checking half v2.7.1
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking tinytemplate v1.2.1
[INFO] [stderr]     Checking ciborium-ll v0.2.2
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking ciborium v0.2.2
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking criterion v0.5.1
[INFO] [stderr]     Checking remdb v0.2.9 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed src/time_series/table.rs (1 fix)
[INFO] [stderr]        Fixed src/memory/pool.rs (5 fixes)
[INFO] [stderr]        Fixed src/lib.rs (3 fixes)
[INFO] [stderr]        Fixed src/index.rs (34 fixes)
[INFO] [stderr]        Fixed src/pubsub/subscriber.rs (6 fixes)
[INFO] [stderr]        Fixed src/transaction.rs (22 fixes)
[INFO] [stderr]        Fixed src/sql/query_executor.rs (4 fixes)
[INFO] [stderr]        Fixed src/table.rs (25 fixes)
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/lib.rs:351:9
[INFO] [stdout]     |
[INFO] [stdout] 351 |         crate::transaction::TX_MANAGER.begin(tx_type, isolation_level, tx_buffer, log_buffer, max_log_items)
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/lib.rs:356:9
[INFO] [stdout]     |
[INFO] [stdout] 356 |         crate::transaction::TX_MANAGER.commit()
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/lib.rs:361:9
[INFO] [stdout]     |
[INFO] [stdout] 361 |         crate::transaction::TX_MANAGER.rollback(self)
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/lib.rs:906:40
[INFO] [stdout]     |
[INFO] [stdout] 906 |             if let Some(log_manager) = crate::transaction::TX_MANAGER.get_log_manager_mut() {
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/lib.rs:1146:40
[INFO] [stdout]      |
[INFO] [stdout] 1146 |             if let Some(log_manager) = crate::transaction::TX_MANAGER.get_log_manager_mut() {
[INFO] [stdout]      |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/lib.rs:1966:12
[INFO] [stdout]      |
[INFO] [stdout] 1966 |         Ok(DB_INSTANCE.as_mut().unwrap())
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]      |
[INFO] [stdout] 1940 - static mut DB_INSTANCE: Option<RemDb> = None;
[INFO] [stdout] 1940 + static DB_INSTANCE: Option<RemDb> = None;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/lib.rs:1973:9
[INFO] [stdout]      |
[INFO] [stdout] 1973 |         DB_INSTANCE.as_mut()
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]      |
[INFO] [stdout] 1940 - static mut DB_INSTANCE: Option<RemDb> = None;
[INFO] [stdout] 1940 + static DB_INSTANCE: Option<RemDb> = None;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/lib.rs:1987:9
[INFO] [stdout]      |
[INFO] [stdout] 1987 |         crate::transaction::TX_MANAGER.reset();
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/lib.rs:1989:9
[INFO] [stdout]      |
[INFO] [stdout] 1989 |         crate::transaction::TX_MANAGER.clear_log_manager();
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/table.rs:183:38
[INFO] [stdout]     |
[INFO] [stdout] 183 |                       let is_visible = crate::transaction::TX_MANAGER.is_visible(
[INFO] [stdout]     |  ______________________________________^
[INFO] [stdout] 184 | |                         status.create_tx_id,
[INFO] [stdout] 185 | |                         status.delete_tx_id,
[INFO] [stdout] 186 | |                         current_tx_id
[INFO] [stdout] 187 | |                     );
[INFO] [stdout]     | |_____________________^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/table.rs:312:38
[INFO] [stdout]     |
[INFO] [stdout] 312 |                       let is_visible = crate::transaction::TX_MANAGER.is_visible(
[INFO] [stdout]     |  ______________________________________^
[INFO] [stdout] 313 | |                         status.create_tx_id,
[INFO] [stdout] 314 | |                         status.delete_tx_id,
[INFO] [stdout] 315 | |                         current_tx_id
[INFO] [stdout] 316 | |                     );
[INFO] [stdout]     | |_____________________^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/transaction.rs:1650:5
[INFO] [stdout]      |
[INFO] [stdout] 1650 |     TX_MANAGER.begin(tx_type, isolation_level, tx_buffer, log_buffer, max_log_items)
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/transaction.rs:1655:5
[INFO] [stdout]      |
[INFO] [stdout] 1655 |     TX_MANAGER.commit()
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/transaction.rs:1660:5
[INFO] [stdout]      |
[INFO] [stdout] 1660 |     TX_MANAGER.rollback(db)
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]     --> src/transaction.rs:1665:14
[INFO] [stdout]      |
[INFO] [stdout] 1665 |     unsafe { TX_MANAGER.get_current_tx() }
[INFO] [stdout]      |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]     --> src/transaction.rs:1670:14
[INFO] [stdout]      |
[INFO] [stdout] 1670 |     unsafe { TX_MANAGER.has_active_tx() }
[INFO] [stdout]      |              ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/transaction.rs:1675:5
[INFO] [stdout]      |
[INFO] [stdout] 1675 |     TX_MANAGER.set_low_power_mode(enabled);
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/transaction.rs:1680:5
[INFO] [stdout]      |
[INFO] [stdout] 1680 |     TX_MANAGER.set_log_manager(log_manager);
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/pubsub/mod.rs:374:12
[INFO] [stdout]     |
[INFO] [stdout] 374 |         if PUB_SUB_INSTANCE.is_some() {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/pubsub/mod.rs:489:9
[INFO] [stdout]     |
[INFO] [stdout] 489 |         PUB_SUB_INSTANCE.as_mut()
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/ha/mod.rs:115:12
[INFO] [stdout]     |
[INFO] [stdout] 115 |         if HA_MANAGER.is_some() {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 110 - static mut HA_MANAGER: Option<manager::HAManager> = None;
[INFO] [stdout] 110 + static HA_MANAGER: Option<manager::HAManager> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/ha/mod.rs:141:9
[INFO] [stdout]     |
[INFO] [stdout] 141 |         HA_MANAGER.as_mut()
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 110 - static mut HA_MANAGER: Option<manager::HAManager> = None;
[INFO] [stdout] 110 + static HA_MANAGER: Option<manager::HAManager> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/ha/mod.rs:159:32
[INFO] [stdout]     |
[INFO] [stdout] 159 |         if let Some(manager) = &HA_MANAGER {
[INFO] [stdout]     |                                ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 159 |         if let Some(manager) = &raw const HA_MANAGER {
[INFO] [stdout]     |                                 +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 110 - static mut HA_MANAGER: Option<manager::HAManager> = None;
[INFO] [stdout] 110 + static HA_MANAGER: Option<manager::HAManager> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/ha/mod.rs:170:32
[INFO] [stdout]     |
[INFO] [stdout] 170 |         if let Some(manager) = &HA_MANAGER {
[INFO] [stdout]     |                                ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 170 |         if let Some(manager) = &raw const HA_MANAGER {
[INFO] [stdout]     |                                 +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 110 - static mut HA_MANAGER: Option<manager::HAManager> = None;
[INFO] [stdout] 110 + static HA_MANAGER: Option<manager::HAManager> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/ha/mod.rs:181:32
[INFO] [stdout]     |
[INFO] [stdout] 181 |         if let Some(manager) = HA_MANAGER.as_mut() {
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 110 - static mut HA_MANAGER: Option<manager::HAManager> = None;
[INFO] [stdout] 110 + static HA_MANAGER: Option<manager::HAManager> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/ha/mod.rs:192:32
[INFO] [stdout]     |
[INFO] [stdout] 192 |         if let Some(manager) = HA_MANAGER.as_mut() {
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 110 - static mut HA_MANAGER: Option<manager::HAManager> = None;
[INFO] [stdout] 110 + static HA_MANAGER: Option<manager::HAManager> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/ha/mod.rs:203:32
[INFO] [stdout]     |
[INFO] [stdout] 203 |         if let Some(manager) = &HA_MANAGER {
[INFO] [stdout]     |                                ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 203 |         if let Some(manager) = &raw const HA_MANAGER {
[INFO] [stdout]     |                                 +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 110 - static mut HA_MANAGER: Option<manager::HAManager> = None;
[INFO] [stdout] 110 + static HA_MANAGER: Option<manager::HAManager> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/ha/replication.rs:375:52
[INFO] [stdout]     |
[INFO] [stdout] 375 |                         if let Some(log_manager) = crate::transaction::TX_MANAGER.get_log_manager() {
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/ha/replication.rs:387:52
[INFO] [stdout]     |
[INFO] [stdout] 387 |                         if let Some(log_manager) = crate::transaction::TX_MANAGER.get_log_manager() {
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/lib.rs:351:9
[INFO] [stdout]     |
[INFO] [stdout] 351 |         crate::transaction::TX_MANAGER.begin(tx_type, isolation_level, tx_buffer, log_buffer, max_log_items)
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/lib.rs:356:9
[INFO] [stdout]     |
[INFO] [stdout] 356 |         crate::transaction::TX_MANAGER.commit()
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating examples/ddl_runtime_example.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/lib.rs:361:9
[INFO] [stdout]     |
[INFO] [stdout] 361 |         crate::transaction::TX_MANAGER.rollback(self)
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/lib.rs:906:40
[INFO] [stdout]     |
[INFO] [stdout] 906 |             if let Some(log_manager) = crate::transaction::TX_MANAGER.get_log_manager_mut() {
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/lib.rs:1146:40
[INFO] [stdout]      |
[INFO] [stdout] 1146 |             if let Some(log_manager) = crate::transaction::TX_MANAGER.get_log_manager_mut() {
[INFO] [stdout]      |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/lib.rs:1966:12
[INFO] [stdout]      |
[INFO] [stdout] 1966 |         Ok(DB_INSTANCE.as_mut().unwrap())
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]      |
[INFO] [stdout] 1940 - static mut DB_INSTANCE: Option<RemDb> = None;
[INFO] [stdout] 1940 + static DB_INSTANCE: Option<RemDb> = None;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/lib.rs:1973:9
[INFO] [stdout]      |
[INFO] [stdout] 1973 |         DB_INSTANCE.as_mut()
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]      |
[INFO] [stdout] 1940 - static mut DB_INSTANCE: Option<RemDb> = None;
[INFO] [stdout] 1940 + static DB_INSTANCE: Option<RemDb> = None;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/lib.rs:1987:9
[INFO] [stdout]      |
[INFO] [stdout] 1987 |         crate::transaction::TX_MANAGER.reset();
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/lib.rs:1989:9
[INFO] [stdout]      |
[INFO] [stdout] 1989 |         crate::transaction::TX_MANAGER.clear_log_manager();
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/table.rs:183:38
[INFO] [stdout]     |
[INFO] [stdout] 183 |                       let is_visible = crate::transaction::TX_MANAGER.is_visible(
[INFO] [stdout]     |  ______________________________________^
[INFO] [stdout] 184 | |                         status.create_tx_id,
[INFO] [stdout] 185 | |                         status.delete_tx_id,
[INFO] [stdout] 186 | |                         current_tx_id
[INFO] [stdout] 187 | |                     );
[INFO] [stdout]     | |_____________________^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/table.rs:312:38
[INFO] [stdout]     |
[INFO] [stdout] 312 |                       let is_visible = crate::transaction::TX_MANAGER.is_visible(
[INFO] [stdout]     |  ______________________________________^
[INFO] [stdout] 313 | |                         status.create_tx_id,
[INFO] [stdout] 314 | |                         status.delete_tx_id,
[INFO] [stdout] 315 | |                         current_tx_id
[INFO] [stdout] 316 | |                     );
[INFO] [stdout]     | |_____________________^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/transaction.rs:1650:5
[INFO] [stdout]      |
[INFO] [stdout] 1650 |     TX_MANAGER.begin(tx_type, isolation_level, tx_buffer, log_buffer, max_log_items)
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/transaction.rs:1655:5
[INFO] [stdout]      |
[INFO] [stdout] 1655 |     TX_MANAGER.commit()
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/transaction.rs:1660:5
[INFO] [stdout]      |
[INFO] [stdout] 1660 |     TX_MANAGER.rollback(db)
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]     --> src/transaction.rs:1665:14
[INFO] [stdout]      |
[INFO] [stdout] 1665 |     unsafe { TX_MANAGER.get_current_tx() }
[INFO] [stdout]      |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]     --> src/transaction.rs:1670:14
[INFO] [stdout]      |
[INFO] [stdout] 1670 |     unsafe { TX_MANAGER.has_active_tx() }
[INFO] [stdout]      |              ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/transaction.rs:1675:5
[INFO] [stdout]      |
[INFO] [stdout] 1675 |     TX_MANAGER.set_low_power_mode(enabled);
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/transaction.rs:1680:5
[INFO] [stdout]      |
[INFO] [stdout] 1680 |     TX_MANAGER.set_log_manager(log_manager);
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/pubsub/mod.rs:374:12
[INFO] [stdout]     |
[INFO] [stdout] 374 |         if PUB_SUB_INSTANCE.is_some() {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/pubsub/mod.rs:489:9
[INFO] [stdout]     |
[INFO] [stdout] 489 |         PUB_SUB_INSTANCE.as_mut()
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/ha/mod.rs:115:12
[INFO] [stdout]     |
[INFO] [stdout] 115 |         if HA_MANAGER.is_some() {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 110 - static mut HA_MANAGER: Option<manager::HAManager> = None;
[INFO] [stdout] 110 + static HA_MANAGER: Option<manager::HAManager> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/ha/mod.rs:141:9
[INFO] [stdout]     |
[INFO] [stdout] 141 |         HA_MANAGER.as_mut()
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 110 - static mut HA_MANAGER: Option<manager::HAManager> = None;
[INFO] [stdout] 110 + static HA_MANAGER: Option<manager::HAManager> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/ha/mod.rs:159:32
[INFO] [stdout]     |
[INFO] [stdout] 159 |         if let Some(manager) = &HA_MANAGER {
[INFO] [stdout]     |                                ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 159 |         if let Some(manager) = &raw const HA_MANAGER {
[INFO] [stdout]     |                                 +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 110 - static mut HA_MANAGER: Option<manager::HAManager> = None;
[INFO] [stdout] 110 + static HA_MANAGER: Option<manager::HAManager> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/ha/mod.rs:170:32
[INFO] [stdout]     |
[INFO] [stdout] 170 |         if let Some(manager) = &HA_MANAGER {
[INFO] [stdout]     |                                ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 170 |         if let Some(manager) = &raw const HA_MANAGER {
[INFO] [stdout]     |                                 +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 110 - static mut HA_MANAGER: Option<manager::HAManager> = None;
[INFO] [stdout] 110 + static HA_MANAGER: Option<manager::HAManager> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/ha/mod.rs:181:32
[INFO] [stdout]     |
[INFO] [stdout] 181 |         if let Some(manager) = HA_MANAGER.as_mut() {
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 110 - static mut HA_MANAGER: Option<manager::HAManager> = None;
[INFO] [stdout] 110 + static HA_MANAGER: Option<manager::HAManager> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/ha/mod.rs:192:32
[INFO] [stdout]     |
[INFO] [stdout] 192 |         if let Some(manager) = HA_MANAGER.as_mut() {
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 110 - static mut HA_MANAGER: Option<manager::HAManager> = None;
[INFO] [stdout] 110 + static HA_MANAGER: Option<manager::HAManager> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/ha/mod.rs:203:32
[INFO] [stdout]     |
[INFO] [stdout] 203 |         if let Some(manager) = &HA_MANAGER {
[INFO] [stdout]     |                                ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 203 |         if let Some(manager) = &raw const HA_MANAGER {
[INFO] [stdout]     |                                 +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 110 - static mut HA_MANAGER: Option<manager::HAManager> = None;
[INFO] [stdout] 110 + static HA_MANAGER: Option<manager::HAManager> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/ha/replication.rs:375:52
[INFO] [stdout]     |
[INFO] [stdout] 375 |                         if let Some(log_manager) = crate::transaction::TX_MANAGER.get_log_manager() {
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/ha/replication.rs:387:52
[INFO] [stdout]     |
[INFO] [stdout] 387 |                         if let Some(log_manager) = crate::transaction::TX_MANAGER.get_log_manager() {
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating examples/timeseries_ddl_usage.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> examples/ddl_runtime_example.rs:37:31
[INFO] [stdout]    |
[INFO] [stdout] 37 |         init_global_allocator(MEMORY_BUFFER.as_mut_ptr(), MEMORY_BUFFER.len())
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> examples/ddl_runtime_example.rs:37:59
[INFO] [stdout]    |
[INFO] [stdout] 37 |         init_global_allocator(MEMORY_BUFFER.as_mut_ptr(), MEMORY_BUFFER.len())
[INFO] [stdout]    |                                                           ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> examples/timeseries_ddl_usage.rs:40:36
[INFO] [stdout]    |
[INFO] [stdout] 40 |         memory_allocator: unsafe { &DEFAULT_ALLOCATOR },
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 40 |         memory_allocator: unsafe { &raw const DEFAULT_ALLOCATOR },
[INFO] [stdout]    |                                     +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating tests/timeseries_table_test.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> examples/timeseries_ddl_usage.rs:73:20
[INFO] [stdout]    |
[INFO] [stdout] 73 |         RemDb::new(DB_CONFIG.as_ref().unwrap())
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tests/timeseries_table_test.rs:134:13
[INFO] [stdout]     |
[INFO] [stdout] 134 |             DB_MEMORY.as_mut_ptr(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating examples/test_ttl_ringbuffer.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> tests/timeseries_table_test.rs:135:13
[INFO] [stdout]     |
[INFO] [stdout] 135 |             DB_MEMORY.len()
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tests/timeseries_table_test.rs:218:13
[INFO] [stdout]     |
[INFO] [stdout] 218 |             DB_MEMORY.as_mut_ptr(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> tests/timeseries_table_test.rs:219:13
[INFO] [stdout]     |
[INFO] [stdout] 219 |             DB_MEMORY.len()
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tests/timeseries_table_test.rs:289:13
[INFO] [stdout]     |
[INFO] [stdout] 289 |             DB_MEMORY.as_mut_ptr(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> tests/timeseries_table_test.rs:290:13
[INFO] [stdout]     |
[INFO] [stdout] 290 |             DB_MEMORY.len()
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tests/timeseries_table_test.rs:340:13
[INFO] [stdout]     |
[INFO] [stdout] 340 |             DB_MEMORY.as_mut_ptr(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> tests/timeseries_table_test.rs:341:13
[INFO] [stdout]     |
[INFO] [stdout] 341 |             DB_MEMORY.len()
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tests/timeseries_table_test.rs:417:13
[INFO] [stdout]     |
[INFO] [stdout] 417 |             DB_MEMORY.as_mut_ptr(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> tests/timeseries_table_test.rs:418:13
[INFO] [stdout]     |
[INFO] [stdout] 418 |             DB_MEMORY.len()
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tests/timeseries_table_test.rs:504:13
[INFO] [stdout]     |
[INFO] [stdout] 504 |             DB_MEMORY.as_mut_ptr(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> tests/timeseries_table_test.rs:505:13
[INFO] [stdout]     |
[INFO] [stdout] 505 |             DB_MEMORY.len()
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating examples/generate_snapshot.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> examples/generate_snapshot.rs:206:13
[INFO] [stdout]     |
[INFO] [stdout] 206 |             DB_MEMORY.as_mut_ptr(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating tests/large_table_test.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> examples/generate_snapshot.rs:207:13
[INFO] [stdout]     |
[INFO] [stdout] 207 |             DB_MEMORY.len()
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tests/large_table_test.rs:172:13
[INFO] [stdout]     |
[INFO] [stdout] 172 |             &mut DEFAULT_ALLOCATOR
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 172 |             &raw mut DEFAULT_ALLOCATOR
[INFO] [stdout]     |              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating tests/memory_test.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/simple_time_type_test.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> tests/simple_time_type_test.rs:51:13
[INFO] [stdout]    |
[INFO] [stdout] 51 |             DB_MEMORY.as_mut_ptr(),
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> tests/simple_time_type_test.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |             DB_MEMORY.len()
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating tests/test_snapshot_gen.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating examples/timeseries_ddl_core.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> tests/test_snapshot_gen.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 51 |         &mut DEFAULT_ALLOCATOR
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 51 |         &raw mut DEFAULT_ALLOCATOR
[INFO] [stdout]    |          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tests/test_snapshot_gen.rs:277:9
[INFO] [stdout]     |
[INFO] [stdout] 277 |         transaction::TX_MANAGER.reset();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tests/test_snapshot_gen.rs:283:9
[INFO] [stdout]     |
[INFO] [stdout] 283 |         TABLE_DATA_BUFFER.fill(0);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> examples/timeseries_ddl_core.rs:64:31
[INFO] [stdout]    |
[INFO] [stdout] 64 |         init_global_allocator(MEMORY.as_mut_ptr(), MEMORY_SIZE)
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating tests/pubsub_test.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating examples/time_series.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> examples/time_series.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 |             DB_MEMORY.as_mut_ptr(),
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> examples/time_series.rs:38:13
[INFO] [stdout]    |
[INFO] [stdout] 38 |             DB_MEMORY.len()
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating examples/pubsub_sql_test_server.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> examples/pubsub_sql_test_server.rs:23:31
[INFO] [stdout]    |
[INFO] [stdout] 23 |             Some(NonNull::new(BUFFER.as_mut_ptr()).unwrap())
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating examples/test_default_value.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> examples/test_default_value.rs:21:27
[INFO] [stdout]    |
[INFO] [stdout] 21 |         memory_allocator: &mut DEFAULT_ALLOCATOR,
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 21 |         memory_allocator: &raw mut DEFAULT_ALLOCATOR,
[INFO] [stdout]    |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating examples/low_power_mode.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> examples/test_default_value.rs:55:31
[INFO] [stdout]    |
[INFO] [stdout] 55 |         init_global_allocator(MEMORY_BUFFER.as_mut_ptr(), MEMORY_BUFFER.len())
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> examples/test_default_value.rs:55:59
[INFO] [stdout]    |
[INFO] [stdout] 55 |         init_global_allocator(MEMORY_BUFFER.as_mut_ptr(), MEMORY_BUFFER.len())
[INFO] [stdout]    |                                                           ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> examples/low_power_mode.rs:57:13
[INFO] [stdout]    |
[INFO] [stdout] 57 |             DB_MEMORY.as_mut_ptr(),
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating examples/varchar_example.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> examples/low_power_mode.rs:58:13
[INFO] [stdout]    |
[INFO] [stdout] 58 |             DB_MEMORY.len()
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating tests/transaction_test.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> examples/varchar_example.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 |             DB_MEMORY.as_mut_ptr(),
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> examples/varchar_example.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 |             DB_MEMORY.len()
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating examples/export_example.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tests/transaction_test.rs:148:9
[INFO] [stdout]     |
[INFO] [stdout] 148 |         &mut DEFAULT_ALLOCATOR
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 148 |         &raw mut DEFAULT_ALLOCATOR
[INFO] [stdout]     |          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tests/transaction_test.rs:201:9
[INFO] [stdout]     |
[INFO] [stdout] 201 |         TX_MANAGER.reset();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tests/transaction_test.rs:207:9
[INFO] [stdout]     |
[INFO] [stdout] 207 |         TABLE_DATA_BUFFER.fill(0);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tests/transaction_test.rs:299:9
[INFO] [stdout]     |
[INFO] [stdout] 299 |         TX_MANAGER.reset();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tests/transaction_test.rs:305:9
[INFO] [stdout]     |
[INFO] [stdout] 305 |         TABLE_DATA_BUFFER.fill(0);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tests/transaction_test.rs:496:9
[INFO] [stdout]     |
[INFO] [stdout] 496 |         TX_MANAGER.reset();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tests/transaction_test.rs:502:9
[INFO] [stdout]     |
[INFO] [stdout] 502 |         TABLE_DATA_BUFFER.fill(0);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tests/transaction_test.rs:620:9
[INFO] [stdout]     |
[INFO] [stdout] 620 |         TX_MANAGER.reset();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tests/transaction_test.rs:626:9
[INFO] [stdout]     |
[INFO] [stdout] 626 |         TABLE_DATA_BUFFER.fill(0);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tests/transaction_test.rs:742:9
[INFO] [stdout]     |
[INFO] [stdout] 742 |         TX_MANAGER.reset();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tests/transaction_test.rs:748:9
[INFO] [stdout]     |
[INFO] [stdout] 748 |         TABLE_DATA_BUFFER.fill(0);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tests/transaction_test.rs:886:9
[INFO] [stdout]     |
[INFO] [stdout] 886 |         TX_MANAGER.reset();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tests/transaction_test.rs:892:9
[INFO] [stdout]     |
[INFO] [stdout] 892 |         TABLE_DATA_BUFFER.fill(0);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tests/transaction_test.rs:984:9
[INFO] [stdout]     |
[INFO] [stdout] 984 |         TX_MANAGER.reset();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tests/transaction_test.rs:990:9
[INFO] [stdout]     |
[INFO] [stdout] 990 |         TABLE_DATA_BUFFER.fill(0);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]     --> tests/transaction_test.rs:1106:9
[INFO] [stdout]      |
[INFO] [stdout] 1106 |         TX_MANAGER.reset();
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]     --> tests/transaction_test.rs:1112:9
[INFO] [stdout]      |
[INFO] [stdout] 1112 |         TABLE_DATA_BUFFER.fill(0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating tests/time_series_batch_test.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> tests/time_series_batch_test.rs:38:28
[INFO] [stdout]    |
[INFO] [stdout] 38 |     core::ptr::write_bytes(DB_MEMORY.as_mut_ptr(), 0, DB_MEMORY.len());
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> tests/time_series_batch_test.rs:38:55
[INFO] [stdout]    |
[INFO] [stdout] 38 |     core::ptr::write_bytes(DB_MEMORY.as_mut_ptr(), 0, DB_MEMORY.len());
[INFO] [stdout]    |                                                       ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> tests/time_series_batch_test.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 |         DB_MEMORY.as_mut_ptr(),
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> tests/time_series_batch_test.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |         DB_MEMORY.len()
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]        Fixed tests/time_series_batch_test.rs (1 fix)
[INFO] [stderr]    Migrating examples/ddl_example.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating examples/pubsub_example.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating examples/multiple_tables.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> examples/multiple_tables.rs:272:13
[INFO] [stdout]     |
[INFO] [stdout] 272 |             DB_MEMORY.as_mut_ptr(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> examples/multiple_tables.rs:273:13
[INFO] [stdout]     |
[INFO] [stdout] 273 |             DB_MEMORY.len()
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating examples/time_series_complete.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/ha_test.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating examples/sql_query.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> examples/sql_query.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 |             DB_MEMORY.as_mut_ptr(),
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> examples/sql_query.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |             DB_MEMORY.len()
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating tests/export_test.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/check_size.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> tests/export_test.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 |         crate::transaction::TX_MANAGER.clear_log_manager();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> tests/export_test.rs:51:57
[INFO] [stdout]    |
[INFO] [stdout] 51 |         crate::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len()).unwrap();
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> tests/export_test.rs:51:81
[INFO] [stdout]    |
[INFO] [stdout] 51 |         crate::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len()).unwrap();
[INFO] [stdout]    |                                                                                 ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> tests/export_test.rs:95:9
[INFO] [stdout]    |
[INFO] [stdout] 95 |         crate::transaction::TX_MANAGER.clear_log_manager();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tests/export_test.rs:104:57
[INFO] [stdout]     |
[INFO] [stdout] 104 |         crate::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len()).unwrap();
[INFO] [stdout]     |                                                         ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> tests/export_test.rs:104:81
[INFO] [stdout]     |
[INFO] [stdout] 104 |         crate::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len()).unwrap();
[INFO] [stdout]     |                                                                                 ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tests/export_test.rs:199:9
[INFO] [stdout]     |
[INFO] [stdout] 199 |         crate::transaction::TX_MANAGER.clear_log_manager();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tests/export_test.rs:208:57
[INFO] [stdout]     |
[INFO] [stdout] 208 |         crate::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len()).unwrap();
[INFO] [stdout]     |                                                         ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> tests/export_test.rs:208:81
[INFO] [stdout]     |
[INFO] [stdout] 208 |         crate::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len()).unwrap();
[INFO] [stdout]     |                                                                                 ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating tests/sql_query_test.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating examples/describe_table.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> examples/describe_table.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 35 |             DB_MEMORY.as_mut_ptr(),
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating examples/time_series_iot.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> examples/describe_table.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |             DB_MEMORY.len()
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> examples/time_series_iot.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 |             DB_MEMORY.as_mut_ptr(),
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating tests/test_index_recovery.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> examples/time_series_iot.rs:38:13
[INFO] [stdout]    |
[INFO] [stdout] 38 |             DB_MEMORY.len()
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating examples/ha_example_slave.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tests/test_index_recovery.rs:114:13
[INFO] [stdout]     |
[INFO] [stdout] 114 |             DB_MEMORY.as_mut_ptr(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> tests/test_index_recovery.rs:115:13
[INFO] [stdout]     |
[INFO] [stdout] 115 |             DB_MEMORY.len()
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> examples/ha_example_slave.rs:70:13
[INFO] [stdout]    |
[INFO] [stdout] 70 |             DB_MEMORY.as_mut_ptr(),
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating tests/pubsub_test_system.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> examples/ha_example_slave.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |             DB_MEMORY.len()
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating examples/test_remdb_server.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/sql_insert_ignore_test.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> examples/test_remdb_server.rs:22:31
[INFO] [stdout]    |
[INFO] [stdout] 22 |             Some(NonNull::new(BUFFER.as_mut_ptr()).unwrap()) 
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tests/sql_insert_ignore_test.rs:144:13
[INFO] [stdout]     |
[INFO] [stdout] 144 |             DB_MEMORY.as_mut_ptr(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> tests/sql_insert_ignore_test.rs:145:13
[INFO] [stdout]     |
[INFO] [stdout] 145 |             DB_MEMORY.len()
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating examples/basic_usage.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/wal_test.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> examples/basic_usage.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 |             DB_MEMORY.as_mut_ptr(),
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> examples/basic_usage.rs:38:13
[INFO] [stdout]    |
[INFO] [stdout] 38 |             DB_MEMORY.len()
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating examples/ha_example_master.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/table_test.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> examples/ha_example_master.rs:70:13
[INFO] [stdout]    |
[INFO] [stdout] 70 |             DB_MEMORY.as_mut_ptr(),
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> examples/ha_example_master.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |             DB_MEMORY.len()
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tests/table_test.rs:154:13
[INFO] [stdout]     |
[INFO] [stdout] 154 |             DB_MEMORY.as_mut_ptr(), 
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> tests/table_test.rs:155:13
[INFO] [stdout]     |
[INFO] [stdout] 155 |             DB_MEMORY.len()
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tests/table_test.rs:217:13
[INFO] [stdout]     |
[INFO] [stdout] 217 |             DB_MEMORY.as_mut_ptr(), 
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> tests/table_test.rs:218:13
[INFO] [stdout]     |
[INFO] [stdout] 218 |             DB_MEMORY.len()
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tests/table_test.rs:275:13
[INFO] [stdout]     |
[INFO] [stdout] 275 |             DB_MEMORY.as_mut_ptr(), 
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating tests/sql_parse_test.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> tests/table_test.rs:276:13
[INFO] [stdout]     |
[INFO] [stdout] 276 |             DB_MEMORY.len()
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tests/table_test.rs:334:13
[INFO] [stdout]     |
[INFO] [stdout] 334 |             DB_MEMORY.as_mut_ptr(), 
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> tests/table_test.rs:335:13
[INFO] [stdout]     |
[INFO] [stdout] 335 |             DB_MEMORY.len()
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tests/table_test.rs:418:13
[INFO] [stdout]     |
[INFO] [stdout] 418 |             DB_MEMORY.as_mut_ptr(), 
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> tests/table_test.rs:419:13
[INFO] [stdout]     |
[INFO] [stdout] 419 |             DB_MEMORY.len()
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tests/table_test.rs:483:13
[INFO] [stdout]     |
[INFO] [stdout] 483 |             DB_MEMORY.as_mut_ptr(), 
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> tests/table_test.rs:484:13
[INFO] [stdout]     |
[INFO] [stdout] 484 |             DB_MEMORY.len()
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating examples/ddl_full_example.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating examples/pubsub_wildcard.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> examples/ddl_full_example.rs:43:13
[INFO] [stdout]    |
[INFO] [stdout] 43 |             DB_MEMORY.as_mut_ptr(),
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> examples/ddl_full_example.rs:44:13
[INFO] [stdout]    |
[INFO] [stdout] 44 |             DB_MEMORY.len()
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating examples/test_create_timeseries_table.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/dynamic_ddl_test.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> examples/test_create_timeseries_table.rs:16:57
[INFO] [stdout]    |
[INFO] [stdout] 16 |         remdb::memory::allocator::init_global_allocator(MEMORY.as_mut_ptr(), MEMORY_SIZE)
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]        Fixed tests/dynamic_ddl_test.rs (1 fix)
[INFO] [stderr]    Migrating tests/test_memory_allocator.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tests/dynamic_ddl_test.rs:110:27
[INFO] [stdout]     |
[INFO] [stdout] 110 |         memory_allocator: &mut DEFAULT_ALLOCATOR,
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 110 |         memory_allocator: &raw mut DEFAULT_ALLOCATOR,
[INFO] [stdout]     |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tests/dynamic_ddl_test.rs:153:18
[INFO] [stdout]     |
[INFO] [stdout] 153 |         unsafe { DB_MEMORY.as_mut_ptr() },
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> tests/dynamic_ddl_test.rs:154:18
[INFO] [stdout]     |
[INFO] [stdout] 154 |         unsafe { DB_MEMORY.len() }
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tests/dynamic_ddl_test.rs:205:18
[INFO] [stdout]     |
[INFO] [stdout] 205 |         unsafe { DB_MEMORY.as_mut_ptr() },
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> tests/dynamic_ddl_test.rs:206:18
[INFO] [stdout]     |
[INFO] [stdout] 206 |         unsafe { DB_MEMORY.len() }
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tests/dynamic_ddl_test.rs:287:18
[INFO] [stdout]     |
[INFO] [stdout] 287 |         unsafe { DB_MEMORY.as_mut_ptr() },
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> tests/dynamic_ddl_test.rs:288:18
[INFO] [stdout]     |
[INFO] [stdout] 288 |         unsafe { DB_MEMORY.len() }
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tests/dynamic_ddl_test.rs:416:18
[INFO] [stdout]     |
[INFO] [stdout] 416 |         unsafe { DB_MEMORY.as_mut_ptr() },
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> tests/dynamic_ddl_test.rs:417:18
[INFO] [stdout]     |
[INFO] [stdout] 417 |         unsafe { DB_MEMORY.len() }
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tests/dynamic_ddl_test.rs:488:18
[INFO] [stdout]     |
[INFO] [stdout] 488 |         unsafe { DB_MEMORY.as_mut_ptr() },
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> tests/dynamic_ddl_test.rs:489:18
[INFO] [stdout]     |
[INFO] [stdout] 489 |         unsafe { DB_MEMORY.len() }
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tests/dynamic_ddl_test.rs:539:18
[INFO] [stdout]     |
[INFO] [stdout] 539 |         unsafe { DB_MEMORY.as_mut_ptr() },
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> tests/dynamic_ddl_test.rs:540:18
[INFO] [stdout]     |
[INFO] [stdout] 540 |         unsafe { DB_MEMORY.len() }
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating examples/ha_example.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> examples/ha_example.rs:49:13
[INFO] [stdout]    |
[INFO] [stdout] 49 |             DB_MEMORY.as_mut_ptr(),
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating examples/pubsub_test_system_client.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> examples/ha_example.rs:50:13
[INFO] [stdout]    |
[INFO] [stdout] 50 |             DB_MEMORY.len()
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> examples/ha_example.rs:132:13
[INFO] [stdout]     |
[INFO] [stdout] 132 |             DB_MEMORY.as_mut_ptr(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> examples/ha_example.rs:133:13
[INFO] [stdout]     |
[INFO] [stdout] 133 |             DB_MEMORY.len()
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating examples/pubsub_test_system_server.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating examples/test_auto_increment.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> examples/test_auto_increment.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 |             DB_MEMORY.as_mut_ptr(),
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating examples/incremental_snapshot.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> examples/test_auto_increment.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 |             DB_MEMORY.len()
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating benches/database.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> examples/incremental_snapshot.rs:202:13
[INFO] [stdout]     |
[INFO] [stdout] 202 |             DB_MEMORY.as_mut_ptr(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> examples/incremental_snapshot.rs:203:13
[INFO] [stdout]     |
[INFO] [stdout] 203 |             DB_MEMORY.len()
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating tests/time_series_module_test.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tests/time_series_module_test.rs:196:13
[INFO] [stdout]     |
[INFO] [stdout] 196 |             DB_MEMORY.as_mut_ptr(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> tests/time_series_module_test.rs:197:13
[INFO] [stdout]     |
[INFO] [stdout] 197 |             DB_MEMORY.len()
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tests/time_series_module_test.rs:231:13
[INFO] [stdout]     |
[INFO] [stdout] 231 |             DB_MEMORY.as_mut_ptr(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> tests/time_series_module_test.rs:232:13
[INFO] [stdout]     |
[INFO] [stdout] 232 |             DB_MEMORY.len()
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [optimized + debuginfo] target(s) in 29.70s
[INFO] [stderr] crater-edition-check: remdb v0.2.9 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr] crater-edition-check: remdb-macros v0.2.9 (/opt/rustwide/workdir/remdb-macros) updating edition from 2021 to 2024
[INFO] [stderr] warning: Cargo.toml: `panic` setting is ignored for `test` profile
[INFO] [stderr] warning: `remdb` (manifest) generated 1 warning
[INFO] [stderr]    Compiling remdb-macros v0.2.9 (/opt/rustwide/workdir/remdb-macros)
[INFO] [stderr]     Checking remdb v0.2.9 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `alloc::string::String`
[INFO] [stdout]  --> src/types.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use alloc::string::String;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DataType as CrateDataType`
[INFO] [stdout]  --> src/table.rs:2:97
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::{types::{RecordHeader, RecordStatus, TableDef, Value, Result, RemDbError, DataType}, DataType as CrateDataType};
[INFO] [stdout]   |                                                                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::time::Duration`
[INFO] [stdout]   --> src/platform/posix.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 |         use core::time::Duration;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::time::Duration`
[INFO] [stdout]   --> src/platform/posix.rs:24:13
[INFO] [stdout]    |
[INFO] [stdout] 24 |         use core::time::Duration;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Ipv6Addr`
[INFO] [stdout]   --> src/pubsub/udp.rs:73:69
[INFO] [stdout]    |
[INFO] [stdout] 73 |     use std::net::{UdpSocket as StdUdpSocket, SocketAddr, Ipv4Addr, Ipv6Addr};
[INFO] [stdout]    |                                                                     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::PubSubError`
[INFO] [stdout]  --> src/pubsub/publisher.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use super::PubSubError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `FrameType`
[INFO] [stdout]  --> src/pubsub/publisher.rs:5:38
[INFO] [stdout]   |
[INFO] [stdout] 5 | use super::protocol::{ProtocolFrame, FrameType};
[INFO] [stdout]   |                                      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]  --> src/pubsub/ttl_ringbuffer.rs:5:29
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::time::{SystemTime, Duration};
[INFO] [stdout]   |                             ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `alloc::vec::Vec`
[INFO] [stdout]   --> src/pubsub/mod.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use alloc::vec::Vec;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `PubSubConfig` and `UdpMode`
[INFO] [stdout]  --> src/ha/replication.rs:7:21
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::pubsub::{PubSubConfig, UdpMode};
[INFO] [stdout]   |                     ^^^^^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `PubSubConfig`, `PubSubError`, and `UdpMode`
[INFO] [stdout]  --> src/ha/heartbeat.rs:5:21
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::pubsub::{PubSubConfig, UdpMode, PubSubError};
[INFO] [stdout]   |                     ^^^^^^^^^^^^  ^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::time::Duration`
[INFO] [stdout]  --> src/ha/heartbeat.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use core::time::Duration;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::ptr::NonNull`
[INFO] [stdout]  --> src/ha/heartbeat.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use core::ptr::NonNull;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HAError`
[INFO] [stdout]  --> src/ha/role.rs:4:25
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::ha::{Result, HAError};
[INFO] [stdout]   |                         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PubSubError`
[INFO] [stdout]  --> src/ha/role.rs:6:44
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::pubsub::{PubSubConfig, UdpMode, PubSubError};
[INFO] [stdout]   |                                            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `alloc::vec::Vec`
[INFO] [stdout]  --> src/ha/mod.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use alloc::vec::Vec;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sync::Mutex`
[INFO] [stdout]  --> src/time_series/index.rs:5:47
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::{sync::RwLock, collections::HashMap, sync::Mutex};
[INFO] [stdout]   |                                               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `alloc::string::String`
[INFO] [stdout]  --> src/types.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use alloc::string::String;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DataType as CrateDataType`
[INFO] [stdout]  --> src/table.rs:2:97
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::{types::{RecordHeader, RecordStatus, TableDef, Value, Result, RemDbError, DataType}, DataType as CrateDataType};
[INFO] [stdout]   |                                                                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::time::Duration`
[INFO] [stdout]   --> src/platform/posix.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 |         use core::time::Duration;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::time::Duration`
[INFO] [stdout]   --> src/platform/posix.rs:24:13
[INFO] [stdout]    |
[INFO] [stdout] 24 |         use core::time::Duration;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Ipv6Addr`
[INFO] [stdout]   --> src/pubsub/udp.rs:73:69
[INFO] [stdout]    |
[INFO] [stdout] 73 |     use std::net::{UdpSocket as StdUdpSocket, SocketAddr, Ipv4Addr, Ipv6Addr};
[INFO] [stdout]    |                                                                     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::PubSubError`
[INFO] [stdout]  --> src/pubsub/publisher.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use super::PubSubError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]  --> src/pubsub/ttl_ringbuffer.rs:5:29
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::time::{SystemTime, Duration};
[INFO] [stdout]   |                             ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `alloc::vec::Vec`
[INFO] [stdout]   --> src/pubsub/mod.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use alloc::vec::Vec;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `PubSubConfig` and `UdpMode`
[INFO] [stdout]  --> src/ha/replication.rs:7:21
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::pubsub::{PubSubConfig, UdpMode};
[INFO] [stdout]   |                     ^^^^^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `PubSubConfig`, `PubSubError`, and `UdpMode`
[INFO] [stdout]  --> src/ha/heartbeat.rs:5:21
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::pubsub::{PubSubConfig, UdpMode, PubSubError};
[INFO] [stdout]   |                     ^^^^^^^^^^^^  ^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::time::Duration`
[INFO] [stdout]  --> src/ha/heartbeat.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use core::time::Duration;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::ptr::NonNull`
[INFO] [stdout]  --> src/ha/heartbeat.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use core::ptr::NonNull;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HAError`
[INFO] [stdout]  --> src/ha/role.rs:4:25
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::ha::{Result, HAError};
[INFO] [stdout]   |                         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PubSubError`
[INFO] [stdout]  --> src/ha/role.rs:6:44
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::pubsub::{PubSubConfig, UdpMode, PubSubError};
[INFO] [stdout]   |                                            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `alloc::vec::Vec`
[INFO] [stdout]  --> src/ha/mod.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use alloc::vec::Vec;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sync::Mutex`
[INFO] [stdout]  --> src/time_series/index.rs:5:47
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::{sync::RwLock, collections::HashMap, sync::Mutex};
[INFO] [stdout]   |                                               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `size`
[INFO] [stdout]   --> src/types.rs:97:31
[INFO] [stdout]    |
[INFO] [stdout] 97 |     pub fn to_sql_type(&self, size: usize) -> &'static str {
[INFO] [stdout]    |                               ^^^^ help: if this is intentional, prefix it with an underscore: `_size`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `timestamp`
[INFO] [stdout]    --> src/types.rs:293:23
[INFO] [stdout]     |
[INFO] [stdout] 293 |     pub fn to_iso8601(timestamp: &super::db_timestamp) -> alloc::string::String {
[INFO] [stdout]     |                       ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `format`
[INFO] [stdout]    --> src/types.rs:300:53
[INFO] [stdout]     |
[INFO] [stdout] 300 |     pub fn to_char(timestamp: &super::db_timestamp, format: &str) -> alloc::string::String {
[INFO] [stdout]     |                                                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_format`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/table.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `table_name`
[INFO] [stdout]    --> src/table.rs:582:13
[INFO] [stdout]     |
[INFO] [stdout] 582 |         let table_name = self.def.name;
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `record_size`
[INFO] [stdout]    --> src/table.rs:583:13
[INFO] [stdout]     |
[INFO] [stdout] 583 |         let record_size = self.record_size;
[INFO] [stdout]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_record_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `slot_id` is never read
[INFO] [stdout]    --> src/table.rs:472:27
[INFO] [stdout]     |
[INFO] [stdout] 472 |           let mut slot_id = 0;
[INFO] [stdout]     |                             ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 511 | /             slot_id = unsafe {
[INFO] [stdout] 512 | |                 self.free_slot_count -= 1;
[INFO] [stdout] 513 | |                 *self.free_slots.as_ptr().add(self.free_slot_count)
[INFO] [stdout] 514 | |             };
[INFO] [stdout]     | |_____________- `slot_id` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `last`
[INFO] [stdout]     --> src/table.rs:1997:44
[INFO] [stdout]      |
[INFO] [stdout] 1997 |         for (window_start, (sum, min, max, last, count)) in window_aggregates {
[INFO] [stdout]      |                                            ^^^^ help: if this is intentional, prefix it with an underscore: `_last`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/index.rs:985:17
[INFO] [stdout]     |
[INFO] [stdout] 985 |             let mut node_mut = &mut *node_ptr;
[INFO] [stdout]     |                 ----^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/index.rs:1035:13
[INFO] [stdout]      |
[INFO] [stdout] 1035 |         let mut node_mut = &mut *node_ptr.as_ptr();
[INFO] [stdout]      |             ----^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/index.rs:1223:17
[INFO] [stdout]      |
[INFO] [stdout] 1223 |             let mut root = self.root.expect("Root node unexpectedly None");
[INFO] [stdout]      |                 ----^^^^
[INFO] [stdout]      |                 |
[INFO] [stdout]      |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]     --> src/index.rs:1544:37
[INFO] [stdout]      |
[INFO] [stdout] 1544 |     pub unsafe fn delete(&mut self, key: *const u8, key_size: usize) -> Result<()> {
[INFO] [stdout]      |                                     ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key_size`
[INFO] [stdout]     --> src/index.rs:1544:53
[INFO] [stdout]      |
[INFO] [stdout] 1544 |     pub unsafe fn delete(&mut self, key: *const u8, key_size: usize) -> Result<()> {
[INFO] [stdout]      |                                                     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/index.rs:1584:17
[INFO] [stdout]      |
[INFO] [stdout] 1584 |             let mut node_mut = &mut *node_ptr;
[INFO] [stdout]      |                 ----^^^^^^^^
[INFO] [stdout]      |                 |
[INFO] [stdout]      |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/index.rs:1632:13
[INFO] [stdout]      |
[INFO] [stdout] 1632 |         let mut node_mut = &mut *node_ptr.as_ptr();
[INFO] [stdout]      |             ----^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]     --> src/index.rs:2207:37
[INFO] [stdout]      |
[INFO] [stdout] 2207 |     pub unsafe fn delete(&mut self, key: *const u8, key_size: usize) -> Result<()> {
[INFO] [stdout]      |                                     ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key_size`
[INFO] [stdout]     --> src/index.rs:2207:53
[INFO] [stdout]      |
[INFO] [stdout] 2207 |     pub unsafe fn delete(&mut self, key: *const u8, key_size: usize) -> Result<()> {
[INFO] [stdout]      |                                                     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/transaction.rs:937:41
[INFO] [stdout]     |
[INFO] [stdout] 937 | ...                   unsafe { value.bool = bool_value; }
[INFO] [stdout]     |                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/transaction.rs:942:41
[INFO] [stdout]     |
[INFO] [stdout] 942 | ...                   unsafe { value.i8 = i8_value; }
[INFO] [stdout]     |                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/transaction.rs:947:41
[INFO] [stdout]     |
[INFO] [stdout] 947 | ...                   unsafe { value.u8 = u8_value; }
[INFO] [stdout]     |                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/transaction.rs:952:41
[INFO] [stdout]     |
[INFO] [stdout] 952 | ...                   unsafe { value.i16 = i16_value; }
[INFO] [stdout]     |                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/transaction.rs:957:41
[INFO] [stdout]     |
[INFO] [stdout] 957 | ...                   unsafe { value.u16 = u16_value; }
[INFO] [stdout]     |                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/transaction.rs:962:41
[INFO] [stdout]     |
[INFO] [stdout] 962 | ...                   unsafe { value.i32 = i32_value; }
[INFO] [stdout]     |                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/transaction.rs:967:41
[INFO] [stdout]     |
[INFO] [stdout] 967 | ...                   unsafe { value.u32 = u32_value; }
[INFO] [stdout]     |                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/transaction.rs:972:41
[INFO] [stdout]     |
[INFO] [stdout] 972 | ...                   unsafe { value.i64 = i64_value; }
[INFO] [stdout]     |                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/transaction.rs:977:41
[INFO] [stdout]     |
[INFO] [stdout] 977 | ...                   unsafe { value.u64 = u64_value; }
[INFO] [stdout]     |                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/transaction.rs:982:41
[INFO] [stdout]     |
[INFO] [stdout] 982 | ...                   unsafe { value.float32 = float32_value; }
[INFO] [stdout]     |                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/transaction.rs:987:41
[INFO] [stdout]     |
[INFO] [stdout] 987 | ...                   unsafe { value.float64 = float64_value; }
[INFO] [stdout]     |                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/transaction.rs:995:41
[INFO] [stdout]     |
[INFO] [stdout] 995 | ...                   unsafe { value.string = string_data; }
[INFO] [stdout]     |                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> src/transaction.rs:1000:41
[INFO] [stdout]      |
[INFO] [stdout] 1000 | ...                   unsafe { value.timestamp = timestamp_value; }
[INFO] [stdout]      |                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> src/transaction.rs:1011:41
[INFO] [stdout]      |
[INFO] [stdout] 1011 | ...                   unsafe {
[INFO] [stdout]      |                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `primary_key_flag`
[INFO] [stdout]    --> src/transaction.rs:920:33
[INFO] [stdout]     |
[INFO] [stdout] 920 | ...                   let primary_key_flag = (constraints & 0b0001) != 0;
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_primary_key_flag`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `not_null_flag`
[INFO] [stdout]    --> src/transaction.rs:921:33
[INFO] [stdout]     |
[INFO] [stdout] 921 | ...                   let not_null_flag = (constraints & 0b0010) != 0;
[INFO] [stdout]     |                           ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_not_null_flag`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `unique_flag`
[INFO] [stdout]    --> src/transaction.rs:922:33
[INFO] [stdout]     |
[INFO] [stdout] 922 | ...                   let unique_flag = (constraints & 0b0100) != 0;
[INFO] [stdout]     |                           ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unique_flag`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `auto_increment_flag`
[INFO] [stdout]    --> src/transaction.rs:923:33
[INFO] [stdout]     |
[INFO] [stdout] 923 | ...                   let auto_increment_flag = (constraints & 0b1000) != 0;
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_auto_increment_flag`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> src/transaction.rs:1068:9
[INFO] [stdout]      |
[INFO] [stdout] 1068 |         unsafe {
[INFO] [stdout]      |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `size`
[INFO] [stdout]   --> src/types.rs:97:31
[INFO] [stdout]    |
[INFO] [stdout] 97 |     pub fn to_sql_type(&self, size: usize) -> &'static str {
[INFO] [stdout]    |                               ^^^^ help: if this is intentional, prefix it with an underscore: `_size`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `timestamp`
[INFO] [stdout]    --> src/types.rs:293:23
[INFO] [stdout]     |
[INFO] [stdout] 293 |     pub fn to_iso8601(timestamp: &super::db_timestamp) -> alloc::string::String {
[INFO] [stdout]     |                       ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `format`
[INFO] [stdout]    --> src/types.rs:300:53
[INFO] [stdout]     |
[INFO] [stdout] 300 |     pub fn to_char(timestamp: &super::db_timestamp, format: &str) -> alloc::string::String {
[INFO] [stdout]     |                                                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_format`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/table.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/sql/query_parser.rs:966:40
[INFO] [stdout]     |
[INFO] [stdout] 966 |             Expression::Field { alias: mut expr_alias, name, .. } => {
[INFO] [stdout]     |                                        ----^^^^^^^^^^
[INFO] [stdout]     |                                        |
[INFO] [stdout]     |                                        help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/sql/query_parser.rs:972:47
[INFO] [stdout]     |
[INFO] [stdout] 972 |             Expression::FunctionCall { alias: mut expr_alias, name, args, .. } => {
[INFO] [stdout]     |                                               ----^^^^^^^^^^
[INFO] [stdout]     |                                               |
[INFO] [stdout]     |                                               help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/sql/query_parser.rs:979:43
[INFO] [stdout]     |
[INFO] [stdout] 979 |             Expression::Constant { alias: mut expr_alias, value, .. } => {
[INFO] [stdout]     |                                           ----^^^^^^^^^^
[INFO] [stdout]     |                                           |
[INFO] [stdout]     |                                           help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `saved_pos`
[INFO] [stdout]    --> src/sql/query_parser.rs:898:17
[INFO] [stdout]     |
[INFO] [stdout] 898 |             let saved_pos = self.position;
[INFO] [stdout]     |                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_saved_pos`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `saved_col`
[INFO] [stdout]    --> src/sql/query_parser.rs:899:17
[INFO] [stdout]     |
[INFO] [stdout] 899 |             let saved_col = self.column;
[INFO] [stdout]     |                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_saved_col`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `table_name`
[INFO] [stdout]    --> src/table.rs:582:13
[INFO] [stdout]     |
[INFO] [stdout] 582 |         let table_name = self.def.name;
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `record_size`
[INFO] [stdout]    --> src/table.rs:583:13
[INFO] [stdout]     |
[INFO] [stdout] 583 |         let record_size = self.record_size;
[INFO] [stdout]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_record_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `slot_id` is never read
[INFO] [stdout]    --> src/table.rs:472:27
[INFO] [stdout]     |
[INFO] [stdout] 472 |           let mut slot_id = 0;
[INFO] [stdout]     |                             ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 511 | /             slot_id = unsafe {
[INFO] [stdout] 512 | |                 self.free_slot_count -= 1;
[INFO] [stdout] 513 | |                 *self.free_slots.as_ptr().add(self.free_slot_count)
[INFO] [stdout] 514 | |             };
[INFO] [stdout]     | |_____________- `slot_id` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `saved_pos`
[INFO] [stdout]     --> src/sql/query_parser.rs:1152:13
[INFO] [stdout]      |
[INFO] [stdout] 1152 |         let saved_pos = self.position;
[INFO] [stdout]      |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_saved_pos`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `saved_col`
[INFO] [stdout]     --> src/sql/query_parser.rs:1153:13
[INFO] [stdout]      |
[INFO] [stdout] 1153 |         let saved_col = self.column;
[INFO] [stdout]      |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_saved_col`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tz_param`
[INFO] [stdout]     --> src/sql/query_parser.rs:1524:17
[INFO] [stdout]      |
[INFO] [stdout] 1524 |             let tz_param = self.parse_value()?;
[INFO] [stdout]      |                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tz_param`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time_param`
[INFO] [stdout]     --> src/sql/query_parser.rs:1535:17
[INFO] [stdout]      |
[INFO] [stdout] 1535 |             let time_param = self.parse_value()?;
[INFO] [stdout]      |                 ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_param`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `format_param`
[INFO] [stdout]     --> src/sql/query_parser.rs:1540:17
[INFO] [stdout]      |
[INFO] [stdout] 1540 |             let format_param = self.parse_value()?;
[INFO] [stdout]      |                 ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_format_param`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time_param`
[INFO] [stdout]     --> src/sql/query_parser.rs:1551:17
[INFO] [stdout]      |
[INFO] [stdout] 1551 |             let time_param = self.parse_value()?;
[INFO] [stdout]      |                 ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_param`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time_param`
[INFO] [stdout]     --> src/sql/query_parser.rs:1562:17
[INFO] [stdout]      |
[INFO] [stdout] 1562 |             let time_param = self.parse_value()?;
[INFO] [stdout]      |                 ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_param`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tz_value`
[INFO] [stdout]     --> src/sql/query_parser.rs:1594:21
[INFO] [stdout]      |
[INFO] [stdout] 1594 |                 let tz_value = self.parse_value()?;
[INFO] [stdout]      |                     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tz_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `last`
[INFO] [stdout]     --> src/table.rs:1997:44
[INFO] [stdout]      |
[INFO] [stdout] 1997 |         for (window_start, (sum, min, max, last, count)) in window_aggregates {
[INFO] [stdout]      |                                            ^^^^ help: if this is intentional, prefix it with an underscore: `_last`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/sql/query_executor.rs:166:9
[INFO] [stdout]     |
[INFO] [stdout] 166 |     let mut matched_rows: Vec<Vec<TypedValue>> = Vec::new();
[INFO] [stdout]     |         ----^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `expr`
[INFO] [stdout]    --> src/sql/query_executor.rs:179:13
[INFO] [stdout]     |
[INFO] [stdout] 179 |         for expr in &columns {
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_expr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/sql/query_executor.rs:331:47
[INFO] [stdout]     |
[INFO] [stdout] 325 |                         unsafe {
[INFO] [stdout]     |                         ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 331 |                                 let is_less = unsafe {
[INFO] [stdout]     |                                               ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/sql/query_executor.rs:358:50
[INFO] [stdout]     |
[INFO] [stdout] 352 |                         unsafe {
[INFO] [stdout]     |                         ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 358 |                                 let is_greater = unsafe {
[INFO] [stdout]     |                                                  ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/index.rs:985:17
[INFO] [stdout]     |
[INFO] [stdout] 985 |             let mut node_mut = &mut *node_ptr;
[INFO] [stdout]     |                 ----^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/index.rs:1035:13
[INFO] [stdout]      |
[INFO] [stdout] 1035 |         let mut node_mut = &mut *node_ptr.as_ptr();
[INFO] [stdout]      |             ----^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mean`
[INFO] [stdout]    --> src/sql/query_executor.rs:512:29
[INFO] [stdout]     |
[INFO] [stdout] 512 |                         let mean = sum / count as f64;
[INFO] [stdout]     |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_mean`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mean`
[INFO] [stdout]    --> src/sql/query_executor.rs:529:29
[INFO] [stdout]     |
[INFO] [stdout] 529 |                         let mean = sum / count as f64;
[INFO] [stdout]     |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_mean`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `record_values`
[INFO] [stdout]    --> src/sql/query_executor.rs:571:5
[INFO] [stdout]     |
[INFO] [stdout] 571 |     record_values: &[TypedValue],
[INFO] [stdout]     |     ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_record_values`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/index.rs:1223:17
[INFO] [stdout]      |
[INFO] [stdout] 1223 |             let mut root = self.root.expect("Root node unexpectedly None");
[INFO] [stdout]      |                 ----^^^^
[INFO] [stdout]      |                 |
[INFO] [stdout]      |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]     --> src/index.rs:1544:37
[INFO] [stdout]      |
[INFO] [stdout] 1544 |     pub unsafe fn delete(&mut self, key: *const u8, key_size: usize) -> Result<()> {
[INFO] [stdout]      |                                     ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key_size`
[INFO] [stdout]     --> src/index.rs:1544:53
[INFO] [stdout]      |
[INFO] [stdout] 1544 |     pub unsafe fn delete(&mut self, key: *const u8, key_size: usize) -> Result<()> {
[INFO] [stdout]      |                                                     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/index.rs:1584:17
[INFO] [stdout]      |
[INFO] [stdout] 1584 |             let mut node_mut = &mut *node_ptr;
[INFO] [stdout]      |                 ----^^^^^^^^
[INFO] [stdout]      |                 |
[INFO] [stdout]      |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]    --> src/sql/query_executor.rs:681:45
[INFO] [stdout]     |
[INFO] [stdout] 681 |         let iterate_result = table.iterate(|id, record_ptr| {
[INFO] [stdout]     |                                             ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/index.rs:1632:13
[INFO] [stdout]      |
[INFO] [stdout] 1632 |         let mut node_mut = &mut *node_ptr.as_ptr();
[INFO] [stdout]      |             ----^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `table_name_part`
[INFO] [stdout]    --> src/sql/query_executor.rs:824:22
[INFO] [stdout]     |
[INFO] [stdout] 824 |                 let (table_name_part, field_name_part) = if name.contains('.') {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_name_part`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]     --> src/index.rs:2207:37
[INFO] [stdout]      |
[INFO] [stdout] 2207 |     pub unsafe fn delete(&mut self, key: *const u8, key_size: usize) -> Result<()> {
[INFO] [stdout]      |                                     ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key_size`
[INFO] [stdout]     --> src/index.rs:2207:53
[INFO] [stdout]      |
[INFO] [stdout] 2207 |     pub unsafe fn delete(&mut self, key: *const u8, key_size: usize) -> Result<()> {
[INFO] [stdout]      |                                                     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> src/sql/query_executor.rs:1085:49
[INFO] [stdout]      |
[INFO] [stdout] 1008 |     unsafe {
[INFO] [stdout]      |     ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 1085 |                             condition_matches = unsafe {
[INFO] [stdout]      |                                                 ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> src/sql/query_executor.rs:1354:53
[INFO] [stdout]      |
[INFO] [stdout] 1281 |             unsafe {
[INFO] [stdout]      |             ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 1354 |                                 condition_matches = unsafe {
[INFO] [stdout]      |                                                     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/sql/query_executor.rs:1255:37
[INFO] [stdout]      |
[INFO] [stdout] 1255 | ...                   let mut buf = [0; MAX_STRING_LEN];
[INFO] [stdout]      |                           ----^^^
[INFO] [stdout]      |                           |
[INFO] [stdout]      |                           help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/sql/query_executor.rs:1431:41
[INFO] [stdout]      |
[INFO] [stdout] 1431 | ...                   let mut buf = [0; MAX_STRING_LEN];
[INFO] [stdout]      |                           ----^^^
[INFO] [stdout]      |                           |
[INFO] [stdout]      |                           help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/sql/query_executor.rs:964:13
[INFO] [stdout]     |
[INFO] [stdout] 964 |         let mut fields = main_table.def.fields
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/transaction.rs:937:41
[INFO] [stdout]     |
[INFO] [stdout] 937 | ...                   unsafe { value.bool = bool_value; }
[INFO] [stdout]     |                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/transaction.rs:942:41
[INFO] [stdout]     |
[INFO] [stdout] 942 | ...                   unsafe { value.i8 = i8_value; }
[INFO] [stdout]     |                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `main_id`
[INFO] [stdout]     --> src/sql/query_executor.rs:1298:41
[INFO] [stdout]      |
[INFO] [stdout] 1298 |                     main_table.iterate(|main_id, main_record_ptr| {
[INFO] [stdout]      |                                         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_main_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/transaction.rs:947:41
[INFO] [stdout]     |
[INFO] [stdout] 947 | ...                   unsafe { value.u8 = u8_value; }
[INFO] [stdout]     |                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/transaction.rs:952:41
[INFO] [stdout]     |
[INFO] [stdout] 952 | ...                   unsafe { value.i16 = i16_value; }
[INFO] [stdout]     |                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `join_id`
[INFO] [stdout]     --> src/sql/query_executor.rs:1283:58
[INFO] [stdout]      |
[INFO] [stdout] 1283 |                 let iterate_result = join_table.iterate(|join_id, join_record_ptr| {
[INFO] [stdout]      |                                                          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_join_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/transaction.rs:957:41
[INFO] [stdout]     |
[INFO] [stdout] 957 | ...                   unsafe { value.u16 = u16_value; }
[INFO] [stdout]     |                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/transaction.rs:962:41
[INFO] [stdout]     |
[INFO] [stdout] 962 | ...                   unsafe { value.i32 = i32_value; }
[INFO] [stdout]     |                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/transaction.rs:967:41
[INFO] [stdout]     |
[INFO] [stdout] 967 | ...                   unsafe { value.u32 = u32_value; }
[INFO] [stdout]     |                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/transaction.rs:972:41
[INFO] [stdout]     |
[INFO] [stdout] 972 | ...                   unsafe { value.i64 = i64_value; }
[INFO] [stdout]     |                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/transaction.rs:977:41
[INFO] [stdout]     |
[INFO] [stdout] 977 | ...                   unsafe { value.u64 = u64_value; }
[INFO] [stdout]     |                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/transaction.rs:982:41
[INFO] [stdout]     |
[INFO] [stdout] 982 | ...                   unsafe { value.float32 = float32_value; }
[INFO] [stdout]     |                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/transaction.rs:987:41
[INFO] [stdout]     |
[INFO] [stdout] 987 | ...                   unsafe { value.float64 = float64_value; }
[INFO] [stdout]     |                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/transaction.rs:995:41
[INFO] [stdout]     |
[INFO] [stdout] 995 | ...                   unsafe { value.string = string_data; }
[INFO] [stdout]     |                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> src/transaction.rs:1000:41
[INFO] [stdout]      |
[INFO] [stdout] 1000 | ...                   unsafe { value.timestamp = timestamp_value; }
[INFO] [stdout]      |                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> src/transaction.rs:1011:41
[INFO] [stdout]      |
[INFO] [stdout] 1011 | ...                   unsafe {
[INFO] [stdout]      |                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `table_name_part`
[INFO] [stdout]     --> src/sql/query_executor.rs:1448:42
[INFO] [stdout]      |
[INFO] [stdout] 1448 | ...                   let (table_name_part, field_name_part) = if name.contains('.') {
[INFO] [stdout]      |                            ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_name_part`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `join_id`
[INFO] [stdout]     --> src/sql/query_executor.rs:1029:37
[INFO] [stdout]      |
[INFO] [stdout] 1029 |                 join_table.iterate(|join_id, join_record_ptr| {
[INFO] [stdout]      |                                     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_join_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `table_name_part`
[INFO] [stdout]     --> src/sql/query_executor.rs:1190:42
[INFO] [stdout]      |
[INFO] [stdout] 1190 | ...                   let (table_name_part, field_name_part) = if name.contains('.') {
[INFO] [stdout]      |                            ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_name_part`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `main_id`
[INFO] [stdout]     --> src/sql/query_executor.rs:1009:50
[INFO] [stdout]      |
[INFO] [stdout] 1009 |         let iterate_result = main_table.iterate(|main_id, main_record_ptr| {
[INFO] [stdout]      |                                                  ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_main_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `primary_key_flag`
[INFO] [stdout]    --> src/transaction.rs:920:33
[INFO] [stdout]     |
[INFO] [stdout] 920 | ...                   let primary_key_flag = (constraints & 0b0001) != 0;
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_primary_key_flag`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `not_null_flag`
[INFO] [stdout]    --> src/transaction.rs:921:33
[INFO] [stdout]     |
[INFO] [stdout] 921 | ...                   let not_null_flag = (constraints & 0b0010) != 0;
[INFO] [stdout]     |                           ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_not_null_flag`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `unique_flag`
[INFO] [stdout]    --> src/transaction.rs:922:33
[INFO] [stdout]     |
[INFO] [stdout] 922 | ...                   let unique_flag = (constraints & 0b0100) != 0;
[INFO] [stdout]     |                           ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unique_flag`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]     --> src/sql/query_executor.rs:1921:18
[INFO] [stdout]      |
[INFO] [stdout] 1921 | fn execute_count(args: &[TypedValue]) -> Result<TypedValue, QueryExecutionError> {
[INFO] [stdout]      |                  ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `auto_increment_flag`
[INFO] [stdout]    --> src/transaction.rs:923:33
[INFO] [stdout]     |
[INFO] [stdout] 923 | ...                   let auto_increment_flag = (constraints & 0b1000) != 0;
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_auto_increment_flag`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> src/transaction.rs:1068:9
[INFO] [stdout]      |
[INFO] [stdout] 1068 |         unsafe {
[INFO] [stdout]      |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]     --> src/sql/query_executor.rs:2240:9
[INFO] [stdout]      |
[INFO] [stdout] 2240 |     for y in 1970..year {
[INFO] [stdout]      |         ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `group_key`
[INFO] [stdout]     --> src/sql/query_executor.rs:3463:10
[INFO] [stdout]      |
[INFO] [stdout] 3463 |     for (group_key, group_rows) in groups {
[INFO] [stdout]      |          ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_group_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> src/sql/query_executor.rs:4325:62
[INFO] [stdout]      |
[INFO] [stdout] 4320 |     unsafe {
[INFO] [stdout]      |     ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 4325 |                 DataType::UInt8 => crate::types::Value { u8: unsafe { *field_ptr as u8 } },
[INFO] [stdout]      |                                                              ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/sql/query_parser.rs:966:40
[INFO] [stdout]     |
[INFO] [stdout] 966 |             Expression::Field { alias: mut expr_alias, name, .. } => {
[INFO] [stdout]     |                                        ----^^^^^^^^^^
[INFO] [stdout]     |                                        |
[INFO] [stdout]     |                                        help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> src/sql/query_executor.rs:4326:64
[INFO] [stdout]      |
[INFO] [stdout] 4320 |     unsafe {
[INFO] [stdout]      |     ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 4326 |                 DataType::UInt16 => crate::types::Value { u16: unsafe { core::ptr::read_unaligned(field_ptr as *const u16) } },
[INFO] [stdout]      |                                                                ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> src/sql/query_executor.rs:4327:64
[INFO] [stdout]      |
[INFO] [stdout] 4320 |     unsafe {
[INFO] [stdout]      |     ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 4327 |                 DataType::UInt32 => crate::types::Value { u32: unsafe { core::ptr::read_unaligned(field_ptr as *const u32) } },
[INFO] [stdout]      |                                                                ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> src/sql/query_executor.rs:4328:64
[INFO] [stdout]      |
[INFO] [stdout] 4320 |     unsafe {
[INFO] [stdout]      |     ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 4328 |                 DataType::UInt64 => crate::types::Value { u64: unsafe { core::ptr::read_unaligned(field_ptr as *const u64) } },
[INFO] [stdout]      |                                                                ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> src/sql/query_executor.rs:4329:61
[INFO] [stdout]      |
[INFO] [stdout] 4320 |     unsafe {
[INFO] [stdout]      |     ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 4329 |                 DataType::Int8 => crate::types::Value { i8: unsafe { core::ptr::read_unaligned(field_ptr as *const i8) } },
[INFO] [stdout]      |                                                             ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/sql/query_parser.rs:972:47
[INFO] [stdout]     |
[INFO] [stdout] 972 |             Expression::FunctionCall { alias: mut expr_alias, name, args, .. } => {
[INFO] [stdout]     |                                               ----^^^^^^^^^^
[INFO] [stdout]     |                                               |
[INFO] [stdout]     |                                               help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/sql/query_parser.rs:979:43
[INFO] [stdout]     |
[INFO] [stdout] 979 |             Expression::Constant { alias: mut expr_alias, value, .. } => {
[INFO] [stdout]     |                                           ----^^^^^^^^^^
[INFO] [stdout]     |                                           |
[INFO] [stdout]     |                                           help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `saved_pos`
[INFO] [stdout]    --> src/sql/query_parser.rs:898:17
[INFO] [stdout]     |
[INFO] [stdout] 898 |             let saved_pos = self.position;
[INFO] [stdout]     |                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_saved_pos`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> src/sql/query_executor.rs:4330:63
[INFO] [stdout]      |
[INFO] [stdout] 4320 |     unsafe {
[INFO] [stdout]      |     ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 4330 |                 DataType::Int16 => crate::types::Value { i16: unsafe { core::ptr::read_unaligned(field_ptr as *const i16) } },
[INFO] [stdout]      |                                                               ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `saved_col`
[INFO] [stdout]    --> src/sql/query_parser.rs:899:17
[INFO] [stdout]     |
[INFO] [stdout] 899 |             let saved_col = self.column;
[INFO] [stdout]     |                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_saved_col`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> src/sql/query_executor.rs:4331:63
[INFO] [stdout]      |
[INFO] [stdout] 4320 |     unsafe {
[INFO] [stdout]      |     ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 4331 |                 DataType::Int32 => crate::types::Value { i32: unsafe { core::ptr::read_unaligned(field_ptr as *const i32) } },
[INFO] [stdout]      |                                                               ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> src/sql/query_executor.rs:4332:63
[INFO] [stdout]      |
[INFO] [stdout] 4320 |     unsafe {
[INFO] [stdout]      |     ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 4332 |                 DataType::Int64 => crate::types::Value { i64: unsafe { core::ptr::read_unaligned(field_ptr as *const i64) } },
[INFO] [stdout]      |                                                               ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> src/sql/query_executor.rs:4333:69
[INFO] [stdout]      |
[INFO] [stdout] 4320 |     unsafe {
[INFO] [stdout]      |     ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 4333 |                 DataType::Float32 => crate::types::Value { float32: unsafe { core::ptr::read_unaligned(field_ptr as *const f32) } },
[INFO] [stdout]      |                                                                     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> src/sql/query_executor.rs:4334:69
[INFO] [stdout]      |
[INFO] [stdout] 4320 |     unsafe {
[INFO] [stdout]      |     ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 4334 |                 DataType::Float64 => crate::types::Value { float64: unsafe { core::ptr::read_unaligned(field_ptr as *const f64) } },
[INFO] [stdout]      |                                                                     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> src/sql/query_executor.rs:4335:63
[INFO] [stdout]      |
[INFO] [stdout] 4320 |     unsafe {
[INFO] [stdout]      |     ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 4335 |                 DataType::Bool => crate::types::Value { bool: unsafe { *field_ptr != 0 } },
[INFO] [stdout]      |                                                               ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> src/sql/query_executor.rs:4338:21
[INFO] [stdout]      |
[INFO] [stdout] 4320 |     unsafe {
[INFO] [stdout]      |     ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 4338 |                     unsafe {
[INFO] [stdout]      |                     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `saved_pos`
[INFO] [stdout]     --> src/sql/query_parser.rs:1152:13
[INFO] [stdout]      |
[INFO] [stdout] 1152 |         let saved_pos = self.position;
[INFO] [stdout]      |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_saved_pos`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `saved_col`
[INFO] [stdout]     --> src/sql/query_parser.rs:1153:13
[INFO] [stdout]      |
[INFO] [stdout] 1153 |         let saved_col = self.column;
[INFO] [stdout]      |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_saved_col`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tz_param`
[INFO] [stdout]     --> src/sql/query_parser.rs:1524:17
[INFO] [stdout]      |
[INFO] [stdout] 1524 |             let tz_param = self.parse_value()?;
[INFO] [stdout]      |                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tz_param`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time_param`
[INFO] [stdout]     --> src/sql/query_parser.rs:1535:17
[INFO] [stdout]      |
[INFO] [stdout] 1535 |             let time_param = self.parse_value()?;
[INFO] [stdout]      |                 ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_param`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `format_param`
[INFO] [stdout]     --> src/sql/query_parser.rs:1540:17
[INFO] [stdout]      |
[INFO] [stdout] 1540 |             let format_param = self.parse_value()?;
[INFO] [stdout]      |                 ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_format_param`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time_param`
[INFO] [stdout]     --> src/sql/query_parser.rs:1551:17
[INFO] [stdout]      |
[INFO] [stdout] 1551 |             let time_param = self.parse_value()?;
[INFO] [stdout]      |                 ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_param`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time_param`
[INFO] [stdout]     --> src/sql/query_parser.rs:1562:17
[INFO] [stdout]      |
[INFO] [stdout] 1562 |             let time_param = self.parse_value()?;
[INFO] [stdout]      |                 ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_param`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tz_value`
[INFO] [stdout]     --> src/sql/query_parser.rs:1594:21
[INFO] [stdout]      |
[INFO] [stdout] 1594 |                 let tz_value = self.parse_value()?;
[INFO] [stdout]      |                     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tz_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/sql/query_executor.rs:166:9
[INFO] [stdout]     |
[INFO] [stdout] 166 |     let mut matched_rows: Vec<Vec<TypedValue>> = Vec::new();
[INFO] [stdout]     |         ----^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `expr`
[INFO] [stdout]    --> src/sql/query_executor.rs:179:13
[INFO] [stdout]     |
[INFO] [stdout] 179 |         for expr in &columns {
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_expr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/sql/query_executor.rs:331:47
[INFO] [stdout]     |
[INFO] [stdout] 325 |                         unsafe {
[INFO] [stdout]     |                         ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 331 |                                 let is_less = unsafe {
[INFO] [stdout]     |                                               ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/sql/query_executor.rs:358:50
[INFO] [stdout]     |
[INFO] [stdout] 352 |                         unsafe {
[INFO] [stdout]     |                         ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 358 |                                 let is_greater = unsafe {
[INFO] [stdout]     |                                                  ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mean`
[INFO] [stdout]    --> src/sql/query_executor.rs:512:29
[INFO] [stdout]     |
[INFO] [stdout] 512 |                         let mean = sum / count as f64;
[INFO] [stdout]     |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_mean`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mean`
[INFO] [stdout]    --> src/sql/query_executor.rs:529:29
[INFO] [stdout]     |
[INFO] [stdout] 529 |                         let mean = sum / count as f64;
[INFO] [stdout]     |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_mean`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `record_values`
[INFO] [stdout]    --> src/sql/query_executor.rs:571:5
[INFO] [stdout]     |
[INFO] [stdout] 571 |     record_values: &[TypedValue],
[INFO] [stdout]     |     ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_record_values`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]    --> src/sql/query_executor.rs:681:45
[INFO] [stdout]     |
[INFO] [stdout] 681 |         let iterate_result = table.iterate(|id, record_ptr| {
[INFO] [stdout]     |                                             ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `table_name_part`
[INFO] [stdout]    --> src/sql/query_executor.rs:824:22
[INFO] [stdout]     |
[INFO] [stdout] 824 |                 let (table_name_part, field_name_part) = if name.contains('.') {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_name_part`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> src/sql/query_executor.rs:1085:49
[INFO] [stdout]      |
[INFO] [stdout] 1008 |     unsafe {
[INFO] [stdout]      |     ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 1085 |                             condition_matches = unsafe {
[INFO] [stdout]      |                                                 ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> src/sql/query_executor.rs:1354:53
[INFO] [stdout]      |
[INFO] [stdout] 1281 |             unsafe {
[INFO] [stdout]      |             ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 1354 |                                 condition_matches = unsafe {
[INFO] [stdout]      |                                                     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `seq_num`
[INFO] [stdout]    --> src/pubsub/mod.rs:275:13
[INFO] [stdout]     |
[INFO] [stdout] 275 |         let seq_num = frame.seq_num();
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seq_num`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/pubsub/mod.rs:282:20
[INFO] [stdout]     |
[INFO] [stdout] 282 |         if let Err(e) = self.subscribers.handle_data(topic_id, payload) {
[INFO] [stdout]     |                    ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `log_index`
[INFO] [stdout]   --> src/ha/replication.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let log_index = u32::from_le_bytes([data[1], data[2], data[3], data[4]]);
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_log_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/sql/query_executor.rs:1255:37
[INFO] [stdout]      |
[INFO] [stdout] 1255 | ...                   let mut buf = [0; MAX_STRING_LEN];
[INFO] [stdout]      |                           ----^^^
[INFO] [stdout]      |                           |
[INFO] [stdout]      |                           help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/sql/query_executor.rs:1431:41
[INFO] [stdout]      |
[INFO] [stdout] 1431 | ...                   let mut buf = [0; MAX_STRING_LEN];
[INFO] [stdout]      |                           ----^^^
[INFO] [stdout]      |                           |
[INFO] [stdout]      |                           help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/sql/query_executor.rs:964:13
[INFO] [stdout]     |
[INFO] [stdout] 964 |         let mut fields = main_table.def.fields
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `main_id`
[INFO] [stdout]     --> src/sql/query_executor.rs:1298:41
[INFO] [stdout]      |
[INFO] [stdout] 1298 |                     main_table.iterate(|main_id, main_record_ptr| {
[INFO] [stdout]      |                                         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_main_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `join_id`
[INFO] [stdout]     --> src/sql/query_executor.rs:1283:58
[INFO] [stdout]      |
[INFO] [stdout] 1283 |                 let iterate_result = join_table.iterate(|join_id, join_record_ptr| {
[INFO] [stdout]      |                                                          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_join_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `table_name_part`
[INFO] [stdout]     --> src/sql/query_executor.rs:1448:42
[INFO] [stdout]      |
[INFO] [stdout] 1448 | ...                   let (table_name_part, field_name_part) = if name.contains('.') {
[INFO] [stdout]      |                            ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_name_part`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/ha/replication.rs:201:27
[INFO] [stdout]     |
[INFO] [stdout] 201 |         if let Some(db) = unsafe { crate::get_global_db() } {
[INFO] [stdout]     |                           ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/ha/replication.rs:254:41
[INFO] [stdout]     |
[INFO] [stdout] 254 | ...                   unsafe { value.bool = bool_value; }
[INFO] [stdout]     |                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `join_id`
[INFO] [stdout]     --> src/sql/query_executor.rs:1029:37
[INFO] [stdout]      |
[INFO] [stdout] 1029 |                 join_table.iterate(|join_id, join_record_ptr| {
[INFO] [stdout]      |                                     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_join_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/ha/replication.rs:259:41
[INFO] [stdout]     |
[INFO] [stdout] 259 | ...                   unsafe { value.i8 = i8_value; }
[INFO] [stdout]     |                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/ha/replication.rs:264:41
[INFO] [stdout]     |
[INFO] [stdout] 264 | ...                   unsafe { value.u8 = u8_value; }
[INFO] [stdout]     |                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/ha/replication.rs:269:41
[INFO] [stdout]     |
[INFO] [stdout] 269 | ...                   unsafe { value.i16 = i16_value; }
[INFO] [stdout]     |                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/ha/replication.rs:274:41
[INFO] [stdout]     |
[INFO] [stdout] 274 | ...                   unsafe { value.u16 = u16_value; }
[INFO] [stdout]     |                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `table_name_part`
[INFO] [stdout]     --> src/sql/query_executor.rs:1190:42
[INFO] [stdout]      |
[INFO] [stdout] 1190 | ...                   let (table_name_part, field_name_part) = if name.contains('.') {
[INFO] [stdout]      |                            ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_name_part`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/ha/replication.rs:279:41
[INFO] [stdout]     |
[INFO] [stdout] 279 | ...                   unsafe { value.i32 = i32_value; }
[INFO] [stdout]     |                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `main_id`
[INFO] [stdout]     --> src/sql/query_executor.rs:1009:50
[INFO] [stdout]      |
[INFO] [stdout] 1009 |         let iterate_result = main_table.iterate(|main_id, main_record_ptr| {
[INFO] [stdout]      |                                                  ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_main_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/ha/replication.rs:284:41
[INFO] [stdout]     |
[INFO] [stdout] 284 | ...                   unsafe { value.u32 = u32_value; }
[INFO] [stdout]     |                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/ha/replication.rs:289:41
[INFO] [stdout]     |
[INFO] [stdout] 289 | ...                   unsafe { value.i64 = i64_value; }
[INFO] [stdout]     |                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/ha/replication.rs:294:41
[INFO] [stdout]     |
[INFO] [stdout] 294 | ...                   unsafe { value.u64 = u64_value; }
[INFO] [stdout]     |                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/ha/replication.rs:299:41
[INFO] [stdout]     |
[INFO] [stdout] 299 | ...                   unsafe { value.float32 = float32_value; }
[INFO] [stdout]     |                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/ha/replication.rs:304:41
[INFO] [stdout]     |
[INFO] [stdout] 304 | ...                   unsafe { value.float64 = float64_value; }
[INFO] [stdout]     |                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/ha/replication.rs:314:41
[INFO] [stdout]     |
[INFO] [stdout] 314 | ...                   unsafe { value.string = string_data; }
[INFO] [stdout]     |                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/ha/replication.rs:319:41
[INFO] [stdout]     |
[INFO] [stdout] 319 | ...                   unsafe { value.timestamp = timestamp_value; }
[INFO] [stdout]     |                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/ha/replication.rs:330:41
[INFO] [stdout]     |
[INFO] [stdout] 330 | ...                   unsafe {
[INFO] [stdout]     |                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `primary_key_flag`
[INFO] [stdout]    --> src/ha/replication.rs:237:33
[INFO] [stdout]     |
[INFO] [stdout] 237 | ...                   let primary_key_flag = (constraints & 0b0001) != 0;
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_primary_key_flag`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `not_null_flag`
[INFO] [stdout]    --> src/ha/replication.rs:238:33
[INFO] [stdout]     |
[INFO] [stdout] 238 | ...                   let not_null_flag = (constraints & 0b0010) != 0;
[INFO] [stdout]     |                           ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_not_null_flag`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `unique_flag`
[INFO] [stdout]    --> src/ha/replication.rs:239:33
[INFO] [stdout]     |
[INFO] [stdout] 239 | ...                   let unique_flag = (constraints & 0b0100) != 0;
[INFO] [stdout]     |                           ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unique_flag`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `auto_increment_flag`
[INFO] [stdout]    --> src/ha/replication.rs:240:33
[INFO] [stdout]     |
[INFO] [stdout] 240 | ...                   let auto_increment_flag = (constraints & 0b1000) != 0;
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_auto_increment_flag`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]     --> src/sql/query_executor.rs:1921:18
[INFO] [stdout]      |
[INFO] [stdout] 1921 | fn execute_count(args: &[TypedValue]) -> Result<TypedValue, QueryExecutionError> {
[INFO] [stdout]      |                  ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]     --> src/sql/query_executor.rs:2240:9
[INFO] [stdout]      |
[INFO] [stdout] 2240 |     for y in 1970..year {
[INFO] [stdout]      |         ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/ha/heartbeat.rs:460:13
[INFO] [stdout]     |
[INFO] [stdout] 460 |         let mut packet = HeartbeatPacket::new(self.node_id, self.role);
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `group_key`
[INFO] [stdout]     --> src/sql/query_executor.rs:3463:10
[INFO] [stdout]      |
[INFO] [stdout] 3463 |     for (group_key, group_rows) in groups {
[INFO] [stdout]      |          ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_group_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `table`
[INFO] [stdout]    --> src/lib.rs:291:25
[INFO] [stdout]     |
[INFO] [stdout] 291 |             if let Some(table) = table {
[INFO] [stdout]     |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_table`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ts_table`
[INFO] [stdout]    --> src/lib.rs:299:25
[INFO] [stdout]     |
[INFO] [stdout] 299 |             if let Some(ts_table) = ts_table {
[INFO] [stdout]     |                         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ts_table`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> src/sql/query_executor.rs:4325:62
[INFO] [stdout]      |
[INFO] [stdout] 4320 |     unsafe {
[INFO] [stdout]      |     ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 4325 |                 DataType::UInt8 => crate::types::Value { u8: unsafe { *field_ptr as u8 } },
[INFO] [stdout]      |                                                              ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> src/sql/query_executor.rs:4326:64
[INFO] [stdout]      |
[INFO] [stdout] 4320 |     unsafe {
[INFO] [stdout]      |     ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 4326 |                 DataType::UInt16 => crate::types::Value { u16: unsafe { core::ptr::read_unaligned(field_ptr as *const u16) } },
[INFO] [stdout]      |                                                                ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/lib.rs:921:22
[INFO] [stdout]     |
[INFO] [stdout] 921 |                 for (i, field) in table_def.fields.iter().enumerate() {
[INFO] [stdout]     |                      ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> src/sql/query_executor.rs:4327:64
[INFO] [stdout]      |
[INFO] [stdout] 4320 |     unsafe {
[INFO] [stdout]      |     ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 4327 |                 DataType::UInt32 => crate::types::Value { u32: unsafe { core::ptr::read_unaligned(field_ptr as *const u32) } },
[INFO] [stdout]      |                                                                ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> src/sql/query_executor.rs:4328:64
[INFO] [stdout]      |
[INFO] [stdout] 4320 |     unsafe {
[INFO] [stdout]      |     ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 4328 |                 DataType::UInt64 => crate::types::Value { u64: unsafe { core::ptr::read_unaligned(field_ptr as *const u64) } },
[INFO] [stdout]      |                                                                ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> src/sql/query_executor.rs:4329:61
[INFO] [stdout]      |
[INFO] [stdout] 4320 |     unsafe {
[INFO] [stdout]      |     ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 4329 |                 DataType::Int8 => crate::types::Value { i8: unsafe { core::ptr::read_unaligned(field_ptr as *const i8) } },
[INFO] [stdout]      |                                                             ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> src/sql/query_executor.rs:4330:63
[INFO] [stdout]      |
[INFO] [stdout] 4320 |     unsafe {
[INFO] [stdout]      |     ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 4330 |                 DataType::Int16 => crate::types::Value { i16: unsafe { core::ptr::read_unaligned(field_ptr as *const i16) } },
[INFO] [stdout]      |                                                               ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> src/sql/query_executor.rs:4331:63
[INFO] [stdout]      |
[INFO] [stdout] 4320 |     unsafe {
[INFO] [stdout]      |     ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 4331 |                 DataType::Int32 => crate::types::Value { i32: unsafe { core::ptr::read_unaligned(field_ptr as *const i32) } },
[INFO] [stdout]      |                                                               ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> src/sql/query_executor.rs:4332:63
[INFO] [stdout]      |
[INFO] [stdout] 4320 |     unsafe {
[INFO] [stdout]      |     ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 4332 |                 DataType::Int64 => crate::types::Value { i64: unsafe { core::ptr::read_unaligned(field_ptr as *const i64) } },
[INFO] [stdout]      |                                                               ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> src/sql/query_executor.rs:4333:69
[INFO] [stdout]      |
[INFO] [stdout] 4320 |     unsafe {
[INFO] [stdout]      |     ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 4333 |                 DataType::Float32 => crate::types::Value { float32: unsafe { core::ptr::read_unaligned(field_ptr as *const f32) } },
[INFO] [stdout]      |                                                                     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> src/sql/query_executor.rs:4334:69
[INFO] [stdout]      |
[INFO] [stdout] 4320 |     unsafe {
[INFO] [stdout]      |     ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 4334 |                 DataType::Float64 => crate::types::Value { float64: unsafe { core::ptr::read_unaligned(field_ptr as *const f64) } },
[INFO] [stdout]      |                                                                     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> src/sql/query_executor.rs:4335:63
[INFO] [stdout]      |
[INFO] [stdout] 4320 |     unsafe {
[INFO] [stdout]      |     ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 4335 |                 DataType::Bool => crate::types::Value { bool: unsafe { *field_ptr != 0 } },
[INFO] [stdout]      |                                                               ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> src/sql/query_executor.rs:4338:21
[INFO] [stdout]      |
[INFO] [stdout] 4320 |     unsafe {
[INFO] [stdout]      |     ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 4338 |                     unsafe {
[INFO] [stdout]      |                     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> src/lib.rs:1430:29
[INFO] [stdout]      |
[INFO] [stdout] 1430 |         let has_active_tx = unsafe { crate::transaction::has_active_tx() };
[INFO] [stdout]      |                             ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `get_field_by_offset`, `publish_to_pubsub_inline`, and `publish_to_pubsub` are never used
[INFO] [stdout]    --> src/table.rs:422:15
[INFO] [stdout]     |
[INFO] [stdout]  52 | impl MemoryTable {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 422 |     unsafe fn get_field_by_offset(&self, record_data: *const u8, offset: usize, data_type: DataType, size: usize) -> Result<Value>
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 591 |     unsafe fn publish_to_pubsub_inline(table_name: &str, record_size: usize, id: usize, record_data: *const u8, is_insert: bool) { ...
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 758 |     unsafe fn publish_to_pubsub(&self, id: usize, record_data: *const u8, is_insert: bool) { unsafe {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `def` and `items` are never read
[INFO] [stdout]    --> src/index.rs:125:5
[INFO] [stdout]     |
[INFO] [stdout] 123 | pub struct PrimaryIndex {
[INFO] [stdout]     |            ------------ fields in this struct
[INFO] [stdout] 124 |     /// 表定义
[INFO] [stdout] 125 |     def: alloc::sync::Arc<TableDef>,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] ...
[INFO] [stdout] 131 |     items: NonNull<PrimaryIndexItem>,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `def` is never read
[INFO] [stdout]    --> src/index.rs:506:5
[INFO] [stdout]     |
[INFO] [stdout] 504 | pub struct SecondaryIndex {
[INFO] [stdout]     |            -------------- field in this struct
[INFO] [stdout] 505 |     /// 表定义
[INFO] [stdout] 506 |     def: alloc::sync::Arc<TableDef>,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `free_node` is never used
[INFO] [stdout]     --> src/index.rs:1067:15
[INFO] [stdout]      |
[INFO] [stdout]  971 | impl BTreeIndex {
[INFO] [stdout]      | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 1067 |     unsafe fn free_node(&mut self, node_ptr: NonNull<BTreeNode>) { unsafe {
[INFO] [stdout]      |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `free_node` is never used
[INFO] [stdout]     --> src/index.rs:1663:15
[INFO] [stdout]      |
[INFO] [stdout] 1570 | impl TTreeIndex {
[INFO] [stdout]      | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 1663 |     unsafe fn free_node(&mut self, node_ptr: NonNull<TTreeNode>) { unsafe {
[INFO] [stdout]      |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `log_file_size_limit` and `log_segment_size` are never read
[INFO] [stdout]    --> src/transaction.rs:182:5
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct LogManager {
[INFO] [stdout]     |            ---------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 182 |     log_file_size_limit: usize,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 183 |     /// 日志分段大小
[INFO] [stdout] 184 |     log_segment_size: usize,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_eof` is never used
[INFO] [stdout]     --> src/sql/query_parser.rs:1760:8
[INFO] [stdout]      |
[INFO] [stdout]  344 | impl SqlParser {
[INFO] [stdout]      | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 1760 |     fn is_eof(&self) -> bool {
[INFO] [stdout]      |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_field_value_from_condition` is never used
[INFO] [stdout]    --> src/sql/query_executor.rs:868:4
[INFO] [stdout]     |
[INFO] [stdout] 868 | fn get_field_value_from_condition<'a>(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `process_at_time_zone` is never used
[INFO] [stdout]     --> src/sql/query_executor.rs:4935:4
[INFO] [stdout]      |
[INFO] [stdout] 4935 | fn process_at_time_zone(timestamp: &crate::types::db_timestamp, timezone_spec: &str) -> Result<crate::types::db_timestamp, QueryEx...
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `process_timezone_function` is never used
[INFO] [stdout]     --> src/sql/query_executor.rs:4959:4
[INFO] [stdout]      |
[INFO] [stdout] 4959 | fn process_timezone_function(timezone_spec: &str) -> Result<i16, QueryExecutionError> {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `string_to_columns` is never used
[INFO] [stdout]    --> src/sql/result_set.rs:200:8
[INFO] [stdout]     |
[INFO] [stdout] 200 | pub fn string_to_columns(s: &str) -> Vec<String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `values_to_string` is never used
[INFO] [stdout]    --> src/sql/result_set.rs:236:8
[INFO] [stdout]     |
[INFO] [stdout] 236 | pub fn values_to_string(values: &[TypedValue]) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_global_pubsub` is never used
[INFO] [stdout]    --> src/pubsub/mod.rs:487:15
[INFO] [stdout]     |
[INFO] [stdout] 487 | pub(crate) fn get_global_pubsub() -> Option<&'static mut PubSub> {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `buffer_size` is never read
[INFO] [stdout]   --> src/pubsub/udp.rs:84:9
[INFO] [stdout]    |
[INFO] [stdout] 78 |     pub struct PosixUdpSocket {
[INFO] [stdout]    |                -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 84 |         buffer_size: usize,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `topic_id` is never read
[INFO] [stdout]   --> src/pubsub/subscriber.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct Subscriber {
[INFO] [stdout]    |        ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 17 |     topic_id: u16,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `is_initialized` is never read
[INFO] [stdout]   --> src/ha/manager.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct HAManager {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 22 |     is_initialized: bool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `WAL_REPLICATION_TOPIC` is never used
[INFO] [stdout]   --> src/ha/replication.rs:11:7
[INFO] [stdout]    |
[INFO] [stdout] 11 | const WAL_REPLICATION_TOPIC: u16 = 1;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `total_slaves`, `lock`, and `is_initialized` are never read
[INFO] [stdout]   --> src/ha/replication.rs:83:5
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub struct ReplicationManager {
[INFO] [stdout]    |            ------------------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 83 |     total_slaves: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 84 |     /// 自旋锁
[INFO] [stdout] 85 |     lock: u32,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 86 |     /// 是否初始化
[INFO] [stdout] 87 |     is_initialized: bool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `is_initialized` is never read
[INFO] [stdout]   --> src/ha/heartbeat.rs:78:5
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub struct HeartbeatMonitor {
[INFO] [stdout]    |            ---------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 78 |     is_initialized: bool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `handle_heartbeat` and `send_heartbeat` are never used
[INFO] [stdout]    --> src/ha/heartbeat.rs:403:8
[INFO] [stdout]     |
[INFO] [stdout] 231 | impl HeartbeatMonitor {
[INFO] [stdout]     | --------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 403 |     fn handle_heartbeat(&self, data: &[u8]) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 458 |     fn send_heartbeat(&self) -> Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `lock` and `is_initialized` are never read
[INFO] [stdout]   --> src/ha/role.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct RoleManager {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 17 |     lock: u32,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 18 |     /// 是否初始化
[INFO] [stdout] 19 |     is_initialized: bool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/lib.rs:351:9
[INFO] [stdout]     |
[INFO] [stdout] 351 |         crate::transaction::TX_MANAGER.begin(tx_type, isolation_level, tx_buffer, log_buffer, max_log_items)
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/lib.rs:356:9
[INFO] [stdout]     |
[INFO] [stdout] 356 |         crate::transaction::TX_MANAGER.commit()
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/lib.rs:361:9
[INFO] [stdout]     |
[INFO] [stdout] 361 |         crate::transaction::TX_MANAGER.rollback(self)
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/lib.rs:906:40
[INFO] [stdout]     |
[INFO] [stdout] 906 |             if let Some(log_manager) = crate::transaction::TX_MANAGER.get_log_manager_mut() {
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/lib.rs:1146:40
[INFO] [stdout]      |
[INFO] [stdout] 1146 |             if let Some(log_manager) = crate::transaction::TX_MANAGER.get_log_manager_mut() {
[INFO] [stdout]      |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/lib.rs:1966:12
[INFO] [stdout]      |
[INFO] [stdout] 1966 |         Ok(DB_INSTANCE.as_mut().unwrap())
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]      |
[INFO] [stdout] 1940 - static mut DB_INSTANCE: Option<RemDb> = None;
[INFO] [stdout] 1940 + static DB_INSTANCE: Option<RemDb> = None;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/lib.rs:1973:9
[INFO] [stdout]      |
[INFO] [stdout] 1973 |         DB_INSTANCE.as_mut()
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]      |
[INFO] [stdout] 1940 - static mut DB_INSTANCE: Option<RemDb> = None;
[INFO] [stdout] 1940 + static DB_INSTANCE: Option<RemDb> = None;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/lib.rs:1987:9
[INFO] [stdout]      |
[INFO] [stdout] 1987 |         crate::transaction::TX_MANAGER.reset();
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/lib.rs:1989:9
[INFO] [stdout]      |
[INFO] [stdout] 1989 |         crate::transaction::TX_MANAGER.clear_log_manager();
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/table.rs:183:38
[INFO] [stdout]     |
[INFO] [stdout] 183 |                       let is_visible = crate::transaction::TX_MANAGER.is_visible(
[INFO] [stdout]     |  ______________________________________^
[INFO] [stdout] 184 | |                         status.create_tx_id,
[INFO] [stdout] 185 | |                         status.delete_tx_id,
[INFO] [stdout] 186 | |                         current_tx_id
[INFO] [stdout] 187 | |                     );
[INFO] [stdout]     | |_____________________^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/table.rs:312:38
[INFO] [stdout]     |
[INFO] [stdout] 312 |                       let is_visible = crate::transaction::TX_MANAGER.is_visible(
[INFO] [stdout]     |  ______________________________________^
[INFO] [stdout] 313 | |                         status.create_tx_id,
[INFO] [stdout] 314 | |                         status.delete_tx_id,
[INFO] [stdout] 315 | |                         current_tx_id
[INFO] [stdout] 316 | |                     );
[INFO] [stdout]     | |_____________________^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/transaction.rs:1650:5
[INFO] [stdout]      |
[INFO] [stdout] 1650 |     TX_MANAGER.begin(tx_type, isolation_level, tx_buffer, log_buffer, max_log_items)
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/transaction.rs:1655:5
[INFO] [stdout]      |
[INFO] [stdout] 1655 |     TX_MANAGER.commit()
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/transaction.rs:1660:5
[INFO] [stdout]      |
[INFO] [stdout] 1660 |     TX_MANAGER.rollback(db)
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]     --> src/transaction.rs:1665:14
[INFO] [stdout]      |
[INFO] [stdout] 1665 |     unsafe { TX_MANAGER.get_current_tx() }
[INFO] [stdout]      |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]     --> src/transaction.rs:1670:14
[INFO] [stdout]      |
[INFO] [stdout] 1670 |     unsafe { TX_MANAGER.has_active_tx() }
[INFO] [stdout]      |              ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/transaction.rs:1675:5
[INFO] [stdout]      |
[INFO] [stdout] 1675 |     TX_MANAGER.set_low_power_mode(enabled);
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/transaction.rs:1680:5
[INFO] [stdout]      |
[INFO] [stdout] 1680 |     TX_MANAGER.set_log_manager(log_manager);
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/pubsub/mod.rs:374:12
[INFO] [stdout]     |
[INFO] [stdout] 374 |         if PUB_SUB_INSTANCE.is_some() {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/pubsub/mod.rs:489:9
[INFO] [stdout]     |
[INFO] [stdout] 489 |         PUB_SUB_INSTANCE.as_mut()
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/ha/mod.rs:115:12
[INFO] [stdout]     |
[INFO] [stdout] 115 |         if HA_MANAGER.is_some() {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 110 - static mut HA_MANAGER: Option<manager::HAManager> = None;
[INFO] [stdout] 110 + static HA_MANAGER: Option<manager::HAManager> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/ha/mod.rs:141:9
[INFO] [stdout]     |
[INFO] [stdout] 141 |         HA_MANAGER.as_mut()
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 110 - static mut HA_MANAGER: Option<manager::HAManager> = None;
[INFO] [stdout] 110 + static HA_MANAGER: Option<manager::HAManager> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/ha/mod.rs:159:32
[INFO] [stdout]     |
[INFO] [stdout] 159 |         if let Some(manager) = &HA_MANAGER {
[INFO] [stdout]     |                                ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 159 |         if let Some(manager) = &raw const HA_MANAGER {
[INFO] [stdout]     |                                 +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 110 - static mut HA_MANAGER: Option<manager::HAManager> = None;
[INFO] [stdout] 110 + static HA_MANAGER: Option<manager::HAManager> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/ha/mod.rs:170:32
[INFO] [stdout]     |
[INFO] [stdout] 170 |         if let Some(manager) = &HA_MANAGER {
[INFO] [stdout]     |                                ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 170 |         if let Some(manager) = &raw const HA_MANAGER {
[INFO] [stdout]     |                                 +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 110 - static mut HA_MANAGER: Option<manager::HAManager> = None;
[INFO] [stdout] 110 + static HA_MANAGER: Option<manager::HAManager> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/ha/mod.rs:181:32
[INFO] [stdout]     |
[INFO] [stdout] 181 |         if let Some(manager) = HA_MANAGER.as_mut() {
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 110 - static mut HA_MANAGER: Option<manager::HAManager> = None;
[INFO] [stdout] 110 + static HA_MANAGER: Option<manager::HAManager> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/ha/mod.rs:192:32
[INFO] [stdout]     |
[INFO] [stdout] 192 |         if let Some(manager) = HA_MANAGER.as_mut() {
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 110 - static mut HA_MANAGER: Option<manager::HAManager> = None;
[INFO] [stdout] 110 + static HA_MANAGER: Option<manager::HAManager> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/ha/mod.rs:203:32
[INFO] [stdout]     |
[INFO] [stdout] 203 |         if let Some(manager) = &HA_MANAGER {
[INFO] [stdout]     |                                ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 203 |         if let Some(manager) = &raw const HA_MANAGER {
[INFO] [stdout]     |                                 +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 110 - static mut HA_MANAGER: Option<manager::HAManager> = None;
[INFO] [stdout] 110 + static HA_MANAGER: Option<manager::HAManager> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/ha/replication.rs:375:52
[INFO] [stdout]     |
[INFO] [stdout] 375 |                         if let Some(log_manager) = crate::transaction::TX_MANAGER.get_log_manager() {
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/ha/replication.rs:387:52
[INFO] [stdout]     |
[INFO] [stdout] 387 |                         if let Some(log_manager) = crate::transaction::TX_MANAGER.get_log_manager() {
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `seq_num`
[INFO] [stdout]    --> src/pubsub/mod.rs:275:13
[INFO] [stdout]     |
[INFO] [stdout] 275 |         let seq_num = frame.seq_num();
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seq_num`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/pubsub/mod.rs:282:20
[INFO] [stdout]     |
[INFO] [stdout] 282 |         if let Err(e) = self.subscribers.handle_data(topic_id, payload) {
[INFO] [stdout]     |                    ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `log_index`
[INFO] [stdout]   --> src/ha/replication.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let log_index = u32::from_le_bytes([data[1], data[2], data[3], data[4]]);
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_log_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/ha/replication.rs:201:27
[INFO] [stdout]     |
[INFO] [stdout] 201 |         if let Some(db) = unsafe { crate::get_global_db() } {
[INFO] [stdout]     |                           ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/ha/replication.rs:254:41
[INFO] [stdout]     |
[INFO] [stdout] 254 | ...                   unsafe { value.bool = bool_value; }
[INFO] [stdout]     |                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/ha/replication.rs:259:41
[INFO] [stdout]     |
[INFO] [stdout] 259 | ...                   unsafe { value.i8 = i8_value; }
[INFO] [stdout]     |                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/ha/replication.rs:264:41
[INFO] [stdout]     |
[INFO] [stdout] 264 | ...                   unsafe { value.u8 = u8_value; }
[INFO] [stdout]     |                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/ha/replication.rs:269:41
[INFO] [stdout]     |
[INFO] [stdout] 269 | ...                   unsafe { value.i16 = i16_value; }
[INFO] [stdout]     |                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/ha/replication.rs:274:41
[INFO] [stdout]     |
[INFO] [stdout] 274 | ...                   unsafe { value.u16 = u16_value; }
[INFO] [stdout]     |                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/ha/replication.rs:279:41
[INFO] [stdout]     |
[INFO] [stdout] 279 | ...                   unsafe { value.i32 = i32_value; }
[INFO] [stdout]     |                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/ha/replication.rs:284:41
[INFO] [stdout]     |
[INFO] [stdout] 284 | ...                   unsafe { value.u32 = u32_value; }
[INFO] [stdout]     |                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/ha/replication.rs:289:41
[INFO] [stdout]     |
[INFO] [stdout] 289 | ...                   unsafe { value.i64 = i64_value; }
[INFO] [stdout]     |                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/ha/replication.rs:294:41
[INFO] [stdout]     |
[INFO] [stdout] 294 | ...                   unsafe { value.u64 = u64_value; }
[INFO] [stdout]     |                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/ha/replication.rs:299:41
[INFO] [stdout]     |
[INFO] [stdout] 299 | ...                   unsafe { value.float32 = float32_value; }
[INFO] [stdout]     |                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/ha/replication.rs:304:41
[INFO] [stdout]     |
[INFO] [stdout] 304 | ...                   unsafe { value.float64 = float64_value; }
[INFO] [stdout]     |                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/ha/replication.rs:314:41
[INFO] [stdout]     |
[INFO] [stdout] 314 | ...                   unsafe { value.string = string_data; }
[INFO] [stdout]     |                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/ha/replication.rs:319:41
[INFO] [stdout]     |
[INFO] [stdout] 319 | ...                   unsafe { value.timestamp = timestamp_value; }
[INFO] [stdout]     |                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/ha/replication.rs:330:41
[INFO] [stdout]     |
[INFO] [stdout] 330 | ...                   unsafe {
[INFO] [stdout]     |                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `primary_key_flag`
[INFO] [stdout]    --> src/ha/replication.rs:237:33
[INFO] [stdout]     |
[INFO] [stdout] 237 | ...                   let primary_key_flag = (constraints & 0b0001) != 0;
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_primary_key_flag`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `not_null_flag`
[INFO] [stdout]    --> src/ha/replication.rs:238:33
[INFO] [stdout]     |
[INFO] [stdout] 238 | ...                   let not_null_flag = (constraints & 0b0010) != 0;
[INFO] [stdout]     |                           ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_not_null_flag`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `unique_flag`
[INFO] [stdout]    --> src/ha/replication.rs:239:33
[INFO] [stdout]     |
[INFO] [stdout] 239 | ...                   let unique_flag = (constraints & 0b0100) != 0;
[INFO] [stdout]     |                           ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unique_flag`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `auto_increment_flag`
[INFO] [stdout]    --> src/ha/replication.rs:240:33
[INFO] [stdout]     |
[INFO] [stdout] 240 | ...                   let auto_increment_flag = (constraints & 0b1000) != 0;
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_auto_increment_flag`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `heartbeat_interval`
[INFO] [stdout]    --> src/ha/heartbeat.rs:318:13
[INFO] [stdout]     |
[INFO] [stdout] 318 |         let heartbeat_interval = self.heartbeat_interval;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_heartbeat_interval`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `node_id`
[INFO] [stdout]    --> src/ha/heartbeat.rs:319:13
[INFO] [stdout]     |
[INFO] [stdout] 319 |         let node_id = self.node_id;
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `role`
[INFO] [stdout]    --> src/ha/heartbeat.rs:320:13
[INFO] [stdout]     |
[INFO] [stdout] 320 |         let role = self.role;
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_role`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/ha/heartbeat.rs:460:13
[INFO] [stdout]     |
[INFO] [stdout] 460 |         let mut packet = HeartbeatPacket::new(self.node_id, self.role);
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `remdb` (lib) due to 29 previous errors; 149 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `table`
[INFO] [stdout]    --> src/lib.rs:291:25
[INFO] [stdout]     |
[INFO] [stdout] 291 |             if let Some(table) = table {
[INFO] [stdout]     |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_table`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ts_table`
[INFO] [stdout]    --> src/lib.rs:299:25
[INFO] [stdout]     |
[INFO] [stdout] 299 |             if let Some(ts_table) = ts_table {
[INFO] [stdout]     |                         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ts_table`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/lib.rs:921:22
[INFO] [stdout]     |
[INFO] [stdout] 921 |                 for (i, field) in table_def.fields.iter().enumerate() {
[INFO] [stdout]     |                      ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> src/lib.rs:1430:29
[INFO] [stdout]      |
[INFO] [stdout] 1430 |         let has_active_tx = unsafe { crate::transaction::has_active_tx() };
[INFO] [stdout]      |                             ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `get_field_by_offset`, `publish_to_pubsub_inline`, and `publish_to_pubsub` are never used
[INFO] [stdout]    --> src/table.rs:422:15
[INFO] [stdout]     |
[INFO] [stdout]  52 | impl MemoryTable {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 422 |     unsafe fn get_field_by_offset(&self, record_data: *const u8, offset: usize, data_type: DataType, size: usize) -> Result<Value>
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 591 |     unsafe fn publish_to_pubsub_inline(table_name: &str, record_size: usize, id: usize, record_data: *const u8, is_insert: bool) { ...
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 758 |     unsafe fn publish_to_pubsub(&self, id: usize, record_data: *const u8, is_insert: bool) { unsafe {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `def` and `items` are never read
[INFO] [stdout]    --> src/index.rs:125:5
[INFO] [stdout]     |
[INFO] [stdout] 123 | pub struct PrimaryIndex {
[INFO] [stdout]     |            ------------ fields in this struct
[INFO] [stdout] 124 |     /// 表定义
[INFO] [stdout] 125 |     def: alloc::sync::Arc<TableDef>,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] ...
[INFO] [stdout] 131 |     items: NonNull<PrimaryIndexItem>,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `def` is never read
[INFO] [stdout]    --> src/index.rs:506:5
[INFO] [stdout]     |
[INFO] [stdout] 504 | pub struct SecondaryIndex {
[INFO] [stdout]     |            -------------- field in this struct
[INFO] [stdout] 505 |     /// 表定义
[INFO] [stdout] 506 |     def: alloc::sync::Arc<TableDef>,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `free_node` is never used
[INFO] [stdout]     --> src/index.rs:1067:15
[INFO] [stdout]      |
[INFO] [stdout]  971 | impl BTreeIndex {
[INFO] [stdout]      | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 1067 |     unsafe fn free_node(&mut self, node_ptr: NonNull<BTreeNode>) { unsafe {
[INFO] [stdout]      |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `free_node` is never used
[INFO] [stdout]     --> src/index.rs:1663:15
[INFO] [stdout]      |
[INFO] [stdout] 1570 | impl TTreeIndex {
[INFO] [stdout]      | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 1663 |     unsafe fn free_node(&mut self, node_ptr: NonNull<TTreeNode>) { unsafe {
[INFO] [stdout]      |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `log_file_size_limit` and `log_segment_size` are never read
[INFO] [stdout]    --> src/transaction.rs:182:5
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct LogManager {
[INFO] [stdout]     |            ---------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 182 |     log_file_size_limit: usize,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 183 |     /// 日志分段大小
[INFO] [stdout] 184 |     log_segment_size: usize,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_eof` is never used
[INFO] [stdout]     --> src/sql/query_parser.rs:1760:8
[INFO] [stdout]      |
[INFO] [stdout]  344 | impl SqlParser {
[INFO] [stdout]      | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 1760 |     fn is_eof(&self) -> bool {
[INFO] [stdout]      |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_field_value_from_condition` is never used
[INFO] [stdout]    --> src/sql/query_executor.rs:868:4
[INFO] [stdout]     |
[INFO] [stdout] 868 | fn get_field_value_from_condition<'a>(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `process_at_time_zone` is never used
[INFO] [stdout]     --> src/sql/query_executor.rs:4935:4
[INFO] [stdout]      |
[INFO] [stdout] 4935 | fn process_at_time_zone(timestamp: &crate::types::db_timestamp, timezone_spec: &str) -> Result<crate::types::db_timestamp, QueryEx...
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `process_timezone_function` is never used
[INFO] [stdout]     --> src/sql/query_executor.rs:4959:4
[INFO] [stdout]      |
[INFO] [stdout] 4959 | fn process_timezone_function(timezone_spec: &str) -> Result<i16, QueryExecutionError> {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `string_to_columns` is never used
[INFO] [stdout]    --> src/sql/result_set.rs:200:8
[INFO] [stdout]     |
[INFO] [stdout] 200 | pub fn string_to_columns(s: &str) -> Vec<String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `values_to_string` is never used
[INFO] [stdout]    --> src/sql/result_set.rs:236:8
[INFO] [stdout]     |
[INFO] [stdout] 236 | pub fn values_to_string(values: &[TypedValue]) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_global_pubsub` is never used
[INFO] [stdout]    --> src/pubsub/mod.rs:487:15
[INFO] [stdout]     |
[INFO] [stdout] 487 | pub(crate) fn get_global_pubsub() -> Option<&'static mut PubSub> {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `buffer_size` is never read
[INFO] [stdout]   --> src/pubsub/udp.rs:84:9
[INFO] [stdout]    |
[INFO] [stdout] 78 |     pub struct PosixUdpSocket {
[INFO] [stdout]    |                -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 84 |         buffer_size: usize,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `topic_id` is never read
[INFO] [stdout]   --> src/pubsub/subscriber.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct Subscriber {
[INFO] [stdout]    |        ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 17 |     topic_id: u16,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `is_initialized` is never read
[INFO] [stdout]   --> src/ha/manager.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct HAManager {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 22 |     is_initialized: bool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `WAL_REPLICATION_TOPIC` is never used
[INFO] [stdout]   --> src/ha/replication.rs:11:7
[INFO] [stdout]    |
[INFO] [stdout] 11 | const WAL_REPLICATION_TOPIC: u16 = 1;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `total_slaves`, `lock`, and `is_initialized` are never read
[INFO] [stdout]   --> src/ha/replication.rs:83:5
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub struct ReplicationManager {
[INFO] [stdout]    |            ------------------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 83 |     total_slaves: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 84 |     /// 自旋锁
[INFO] [stdout] 85 |     lock: u32,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 86 |     /// 是否初始化
[INFO] [stdout] 87 |     is_initialized: bool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `is_initialized` is never read
[INFO] [stdout]   --> src/ha/heartbeat.rs:78:5
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub struct HeartbeatMonitor {
[INFO] [stdout]    |            ---------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 78 |     is_initialized: bool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `handle_heartbeat` and `send_heartbeat` are never used
[INFO] [stdout]    --> src/ha/heartbeat.rs:403:8
[INFO] [stdout]     |
[INFO] [stdout] 231 | impl HeartbeatMonitor {
[INFO] [stdout]     | --------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 403 |     fn handle_heartbeat(&self, data: &[u8]) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 458 |     fn send_heartbeat(&self) -> Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `lock` and `is_initialized` are never read
[INFO] [stdout]   --> src/ha/role.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct RoleManager {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 17 |     lock: u32,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 18 |     /// 是否初始化
[INFO] [stdout] 19 |     is_initialized: bool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/lib.rs:351:9
[INFO] [stdout]     |
[INFO] [stdout] 351 |         crate::transaction::TX_MANAGER.begin(tx_type, isolation_level, tx_buffer, log_buffer, max_log_items)
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/lib.rs:356:9
[INFO] [stdout]     |
[INFO] [stdout] 356 |         crate::transaction::TX_MANAGER.commit()
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/lib.rs:361:9
[INFO] [stdout]     |
[INFO] [stdout] 361 |         crate::transaction::TX_MANAGER.rollback(self)
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/lib.rs:906:40
[INFO] [stdout]     |
[INFO] [stdout] 906 |             if let Some(log_manager) = crate::transaction::TX_MANAGER.get_log_manager_mut() {
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/lib.rs:1146:40
[INFO] [stdout]      |
[INFO] [stdout] 1146 |             if let Some(log_manager) = crate::transaction::TX_MANAGER.get_log_manager_mut() {
[INFO] [stdout]      |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/lib.rs:1966:12
[INFO] [stdout]      |
[INFO] [stdout] 1966 |         Ok(DB_INSTANCE.as_mut().unwrap())
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]      |
[INFO] [stdout] 1940 - static mut DB_INSTANCE: Option<RemDb> = None;
[INFO] [stdout] 1940 + static DB_INSTANCE: Option<RemDb> = None;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/lib.rs:1973:9
[INFO] [stdout]      |
[INFO] [stdout] 1973 |         DB_INSTANCE.as_mut()
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]      |
[INFO] [stdout] 1940 - static mut DB_INSTANCE: Option<RemDb> = None;
[INFO] [stdout] 1940 + static DB_INSTANCE: Option<RemDb> = None;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/lib.rs:1987:9
[INFO] [stdout]      |
[INFO] [stdout] 1987 |         crate::transaction::TX_MANAGER.reset();
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/lib.rs:1989:9
[INFO] [stdout]      |
[INFO] [stdout] 1989 |         crate::transaction::TX_MANAGER.clear_log_manager();
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/table.rs:183:38
[INFO] [stdout]     |
[INFO] [stdout] 183 |                       let is_visible = crate::transaction::TX_MANAGER.is_visible(
[INFO] [stdout]     |  ______________________________________^
[INFO] [stdout] 184 | |                         status.create_tx_id,
[INFO] [stdout] 185 | |                         status.delete_tx_id,
[INFO] [stdout] 186 | |                         current_tx_id
[INFO] [stdout] 187 | |                     );
[INFO] [stdout]     | |_____________________^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/table.rs:312:38
[INFO] [stdout]     |
[INFO] [stdout] 312 |                       let is_visible = crate::transaction::TX_MANAGER.is_visible(
[INFO] [stdout]     |  ______________________________________^
[INFO] [stdout] 313 | |                         status.create_tx_id,
[INFO] [stdout] 314 | |                         status.delete_tx_id,
[INFO] [stdout] 315 | |                         current_tx_id
[INFO] [stdout] 316 | |                     );
[INFO] [stdout]     | |_____________________^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/transaction.rs:1650:5
[INFO] [stdout]      |
[INFO] [stdout] 1650 |     TX_MANAGER.begin(tx_type, isolation_level, tx_buffer, log_buffer, max_log_items)
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/transaction.rs:1655:5
[INFO] [stdout]      |
[INFO] [stdout] 1655 |     TX_MANAGER.commit()
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/transaction.rs:1660:5
[INFO] [stdout]      |
[INFO] [stdout] 1660 |     TX_MANAGER.rollback(db)
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]     --> src/transaction.rs:1665:14
[INFO] [stdout]      |
[INFO] [stdout] 1665 |     unsafe { TX_MANAGER.get_current_tx() }
[INFO] [stdout]      |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]     --> src/transaction.rs:1670:14
[INFO] [stdout]      |
[INFO] [stdout] 1670 |     unsafe { TX_MANAGER.has_active_tx() }
[INFO] [stdout]      |              ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/transaction.rs:1675:5
[INFO] [stdout]      |
[INFO] [stdout] 1675 |     TX_MANAGER.set_low_power_mode(enabled);
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/transaction.rs:1680:5
[INFO] [stdout]      |
[INFO] [stdout] 1680 |     TX_MANAGER.set_log_manager(log_manager);
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/pubsub/mod.rs:374:12
[INFO] [stdout]     |
[INFO] [stdout] 374 |         if PUB_SUB_INSTANCE.is_some() {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/pubsub/mod.rs:489:9
[INFO] [stdout]     |
[INFO] [stdout] 489 |         PUB_SUB_INSTANCE.as_mut()
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/ha/mod.rs:115:12
[INFO] [stdout]     |
[INFO] [stdout] 115 |         if HA_MANAGER.is_some() {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 110 - static mut HA_MANAGER: Option<manager::HAManager> = None;
[INFO] [stdout] 110 + static HA_MANAGER: Option<manager::HAManager> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/ha/mod.rs:141:9
[INFO] [stdout]     |
[INFO] [stdout] 141 |         HA_MANAGER.as_mut()
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 110 - static mut HA_MANAGER: Option<manager::HAManager> = None;
[INFO] [stdout] 110 + static HA_MANAGER: Option<manager::HAManager> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/ha/mod.rs:159:32
[INFO] [stdout]     |
[INFO] [stdout] 159 |         if let Some(manager) = &HA_MANAGER {
[INFO] [stdout]     |                                ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 159 |         if let Some(manager) = &raw const HA_MANAGER {
[INFO] [stdout]     |                                 +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 110 - static mut HA_MANAGER: Option<manager::HAManager> = None;
[INFO] [stdout] 110 + static HA_MANAGER: Option<manager::HAManager> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/ha/mod.rs:170:32
[INFO] [stdout]     |
[INFO] [stdout] 170 |         if let Some(manager) = &HA_MANAGER {
[INFO] [stdout]     |                                ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 170 |         if let Some(manager) = &raw const HA_MANAGER {
[INFO] [stdout]     |                                 +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 110 - static mut HA_MANAGER: Option<manager::HAManager> = None;
[INFO] [stdout] 110 + static HA_MANAGER: Option<manager::HAManager> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/ha/mod.rs:181:32
[INFO] [stdout]     |
[INFO] [stdout] 181 |         if let Some(manager) = HA_MANAGER.as_mut() {
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 110 - static mut HA_MANAGER: Option<manager::HAManager> = None;
[INFO] [stdout] 110 + static HA_MANAGER: Option<manager::HAManager> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/ha/mod.rs:192:32
[INFO] [stdout]     |
[INFO] [stdout] 192 |         if let Some(manager) = HA_MANAGER.as_mut() {
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 110 - static mut HA_MANAGER: Option<manager::HAManager> = None;
[INFO] [stdout] 110 + static HA_MANAGER: Option<manager::HAManager> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/ha/mod.rs:203:32
[INFO] [stdout]     |
[INFO] [stdout] 203 |         if let Some(manager) = &HA_MANAGER {
[INFO] [stdout]     |                                ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 203 |         if let Some(manager) = &raw const HA_MANAGER {
[INFO] [stdout]     |                                 +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 110 - static mut HA_MANAGER: Option<manager::HAManager> = None;
[INFO] [stdout] 110 + static HA_MANAGER: Option<manager::HAManager> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/ha/replication.rs:375:52
[INFO] [stdout]     |
[INFO] [stdout] 375 |                         if let Some(log_manager) = crate::transaction::TX_MANAGER.get_log_manager() {
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/ha/replication.rs:387:52
[INFO] [stdout]     |
[INFO] [stdout] 387 |                         if let Some(log_manager) = crate::transaction::TX_MANAGER.get_log_manager() {
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `remdb` (lib test) due to 29 previous errors; 151 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "d012ee33eef380f9cc79fe9e600603f4106e10f71ceba1c52eed7769517b5235", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d012ee33eef380f9cc79fe9e600603f4106e10f71ceba1c52eed7769517b5235", kill_on_drop: false }`
[INFO] [stdout] d012ee33eef380f9cc79fe9e600603f4106e10f71ceba1c52eed7769517b5235
